summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/game.gd5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/game.gd b/client/game.gd
index caacbc8c..7a0b1591 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -255,7 +255,10 @@ func handle_packet(p):
lobby.visible = in_lobby
if lobby and join_state == JoinState.SPECTATING:
- toggle_join()
+ if in_lobby:
+ toggle_join()
+ else:
+ menu.submenu("res://menu/ingame.tscn")
"score":
if p.time_remaining != null:
overlay.update(p.demands_failed, p.demands_completed, p.points, p.time_remaining)