aboutsummaryrefslogtreecommitdiff
path: root/client/game.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/game.gd')
-rw-r--r--client/game.gd5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/game.gd b/client/game.gd
index 5503c017..849f970b 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -350,7 +350,10 @@ func handle_packet(p):
get_parent().replace_menu("res://menu/game.tscn", p.uri[0])
"replay_start":
is_replay = true
-
+ "pause":
+ overlay.timer.paused = p.state
+ Global.game_paused = p.state
+
_: push_error("Unrecognized packet type: %s" % p.type)
func set_join_state(state: JoinState):