Skip to content

Commit

Permalink
Fix co-op mode re-linking designations on progress recieved
Browse files Browse the repository at this point in the history
  • Loading branch information
DarwinBaker committed Dec 13, 2021
1 parent 3957183 commit a3fbb23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions AATool/Data/Advancement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public Advancement(XmlNode node)
if (lobby.Designations.TryGetValue(this.Id, out Uuid player))
this.Designate(player);
}
this.DesignationLinked = true;
}

public bool HasCriteria => this.Criteria is not null;
Expand Down Expand Up @@ -125,11 +126,6 @@ public void Update(ProgressState progress)
//server just started
this.Designate(this.DesignatedPlayer);
}
else
{
//client just started
this.LinkDesignation();
}
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions AATool/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("1.3.3.5")]
[assembly: AssemblyFileVersion("1.3.3.5")]
[assembly: AssemblyVersion("1.3.3.6")]
[assembly: AssemblyFileVersion("1.3.3.6")]
[assembly: NeutralResourcesLanguage("en")]

0 comments on commit a3fbb23

Please sign in to comment.