diff options
Diffstat (limited to 'client/game.gd')
| -rw-r--r-- | client/game.gd | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/client/game.gd b/client/game.gd index 0c2d51e9..14274b14 100644 --- a/client/game.gd +++ b/client/game.gd @@ -308,11 +308,9 @@ func handle_packet(p): var two_handed: bool = Global.hand_count >= 2 var profile_name: String = "controls_%s_%s_handed_explained" % [("joypad" if using_joypad else "keyboard"), ("two" if two_handed else "one")] if not Profile.read(profile_name): - menu.submenu("res://gui/overlays/controls_visualization/explanation.tscn", [profile_name, using_joypad, two_handed]) - else: - mp.send_ready() - else: - mp.send_ready() + await menu.submenu("res://gui/overlays/controls_visualization/explanation.tscn", [profile_name, using_joypad, two_handed]) + Profile.write(profile_name, true) + mp.send_ready() else: map.autoflush = false await get_parent()._menu_exit() |