We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9040f69 commit acbfd5bCopy full SHA for acbfd5b
Assets/Standard Assets/Lobby/Scripts/Lobby/LobbyPlayer.cs
@@ -226,6 +226,7 @@ public void OnDestroy()
226
LobbyPlayerList._instance.RemovePlayer(this);
227
if (LobbyManager.s_Singleton != null) LobbyManager.s_Singleton.OnPlayersNumberModified(-1);
228
if (teamId == 1) team1PlayerCount--;
229
+ if (teamId == 2) team2PlayerCount--;
230
}
231
232
[Command]
0 commit comments