mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkServer.DestroyPlayersForConnection: removed unnecessary 'empty player list given to NetworkServer' warning that might happen while players are still in a lobby without entering the game world yet
This commit is contained in:
parent
be9efea78c
commit
ae611cf82c
@ -1375,7 +1375,7 @@ static public void DestroyPlayersForConnection(NetworkConnection conn)
|
||||
{
|
||||
if (conn.playerControllers.Count == 0)
|
||||
{
|
||||
if (LogFilter.logWarn) { Debug.LogWarning("Empty player list given to NetworkServer.Destroy(), nothing to do."); }
|
||||
// list is empty if players are still in a lobby etc., no need to show a warning
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user