mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user