Skip to content

Commit

Permalink
Fix alias update
Browse files Browse the repository at this point in the history
  • Loading branch information
Wind2009-Louse authored Jul 3, 2024
1 parent 3cf5263 commit a7669af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Game/ClientCard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ public void SetId(int id)
if (Data != null)
{
Name = Data.Name;
if (Data.Alias != 0)
Alias = Data.Alias;
Alias = Data.Alias;
} else {
Name = null;
Alias = 0;
Expand Down Expand Up @@ -387,4 +386,4 @@ public bool Equals(ClientCard card)
return ReferenceEquals(this, card);
}
}
}
}

0 comments on commit a7669af

Please sign in to comment.