[FIX] made user host when hosting a lobby
This commit is contained in:
@@ -155,6 +155,7 @@ namespace Server.Models
|
||||
Lobby lobby = new Lobby( lobbies.Count + 1,0, 8);
|
||||
lobbies.Add(lobby);
|
||||
serverClientsInlobbies.Add(lobby, new List<ServerClient>());
|
||||
user.Host = true;
|
||||
AddToLobby(lobby, user);
|
||||
return lobby;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user