Merge pull request #10481 from mateuseap/fix/high_level_multiplayer

Fix the "Example lobby implementation" section of the High-level multiplayer tutorial
This commit is contained in:
Max Hilbrunner
2025-01-08 22:18:31 +01:00
committed by GitHub
@@ -415,6 +415,7 @@ have loaded the game scene.
func remove_multiplayer_peer():
multiplayer.multiplayer_peer = null
players.clear()
# When the server decides to start the game from a UI scene,
@@ -550,6 +551,7 @@ have loaded the game scene.
private void RemoveMultiplayerPeer()
{
Multiplayer.MultiplayerPeer = null;
_players.Clear();
}
// When the server decides to start the game from a UI scene,