Skip to content

Commit

Permalink
fixed anticlone
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluscream committed Jul 28, 2016
1 parent 623f7f1 commit 7d58c07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Client/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1564,6 +1564,7 @@ public void ProcessMessages()

_serverBrowserMenu.AddItem(item);
_serverBrowserMenu.CurrentSelection = lastIndx;
//_serverBrowserMenu.Subtitle.Caption = "Servers listed: ~g~~h~" + dejson.list.Count().ToString();
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions Server/GameServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ public void Tick()
DenyPlayer(client, "Wrong password.", true, msg); continue;
}
}

lock (Clients)
{
int duplicate = 0;
Expand All @@ -413,7 +412,7 @@ public void Tick()
{
duplicate++;

connReq.DisplayName = displayname + " (" + duplicate + ")";
connReq.DisplayName = displayname + " {" + duplicate + "}";
}

Clients.Add(client);
Expand Down

0 comments on commit 7d58c07

Please sign in to comment.