diff options
author | tpart <tpart120@proton.me> | 2024-09-19 22:36:05 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-09-19 22:36:05 +0200 |
commit | 5b8ac81f412043218120bd59fcfa9e969c7eeabe (patch) | |
tree | 64ee950aef433adf0f253398dd6c07e2c33c6580 /client/menu | |
parent | 3eb7a5cf106b6eb395363f71e75a87466a44fc59 (diff) | |
download | hurrycurry-5b8ac81f412043218120bd59fcfa9e969c7eeabe.tar hurrycurry-5b8ac81f412043218120bd59fcfa9e969c7eeabe.tar.bz2 hurrycurry-5b8ac81f412043218120bd59fcfa9e969c7eeabe.tar.zst |
Disable game hints while tutorial is running
Diffstat (limited to 'client/menu')
-rw-r--r-- | client/menu/popup_message/popup_message.gd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/menu/popup_message/popup_message.gd b/client/menu/popup_message/popup_message.gd index 3ed08cd7..ead11977 100644 --- a/client/menu/popup_message/popup_message.gd +++ b/client/menu/popup_message/popup_message.gd @@ -54,6 +54,13 @@ func _ready(): is_joined = false update_state() ) + game.update_tutorial_running.connect( + func a(running: bool): + if running: + stop_game_hints() + else: + update_state() + ) func _process(_delta: float): if server_msg_positional.visible: |