Skip to content

Commit

Permalink
fix(GameStateManager): don't send announce for "None" state
Browse files Browse the repository at this point in the history
  • Loading branch information
roydejong committed Sep 7, 2021
1 parent f18322a commit 1ddf1b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Core/GameStateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ private static void OnLobbyStateChanged(object sender, MultiplayerLobbyState lob

Activity.LobbyState = lobbyState;

HandleUpdate();
if (Activity.LobbyState != MultiplayerLobbyState.None)
HandleUpdate();
}

private static void OnServerCodeChanged(object sender, string serverCode)
Expand Down

0 comments on commit 1ddf1b4

Please sign in to comment.