diff options
Diffstat (limited to 'client/game.gd')
-rw-r--r-- | client/game.gd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/game.gd b/client/game.gd index 89a68be5..efb75c9f 100644 --- a/client/game.gd +++ b/client/game.gd @@ -299,6 +299,13 @@ func handle_packet(p): toggle_join() elif not is_replay: menu.submenu("res://gui/menus/ingame.tscn") + elif not in_lobby and not is_replay and not Global.using_touch and p.state: + if Global.hand_count == 1 and not Profile.read("controls_one_handed_explained"): + menu.submenu("res://gui/overlays/controls_visualization/explanation.tscn", false) + elif Global.hand_count == 2 and not Profile.read("controls_two_handed_explained"): + menu.submenu("res://gui/overlays/controls_visualization/explanation.tscn", true) + else: + mp.send_ready() "score": if p.time_remaining != null: overlay_score.update(p.demands_failed, p.demands_completed, p.points, p.time_remaining) |