Skip to content

Commit

Permalink
Fixed bug where the guest wasn't allowed to play first.
Browse files Browse the repository at this point in the history
  • Loading branch information
ra314 committed Sep 22, 2021
1 parent 899f450 commit 6da1f59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Scripts/Levels/Level Main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,9 @@ func set_host_color(color):
if color == "blue":
other_color = "red"
players[other_color].network_id = _root.players["guest"]
synchronize(_root.players["guest"])

game_start_event()
synchronize(_root.players["guest"])

# Changing the visibility of relevant buttons
rpc("show_resign_button")
Expand Down

0 comments on commit 6da1f59

Please sign in to comment.