[REMOVE] removed the checks for who is host
This commit is contained in:
@@ -226,13 +226,18 @@ namespace Client
|
||||
case JSONConvert.GameCommand.INITIALIZE:
|
||||
int lobbyID = JSONConvert.GetLobbyID(payload);
|
||||
string userName = JSONConvert.GetUsernameLogin(payload);
|
||||
if (lobbyID == clientData.Lobby.ID)
|
||||
if (lobbyID == clientData.Lobby.ID)
|
||||
{
|
||||
if (userName == clientData.User.Username)
|
||||
{
|
||||
clientData.User.TurnToDraw = true;
|
||||
Debug.WriteLine("[CLIENT] Setting a player's turnToDraw to true");
|
||||
}
|
||||
|
||||
}
|
||||
clientData.Client.UpdateUserScores?.Invoke(clientData.Lobby);
|
||||
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user