diff options
Diffstat (limited to 'client/game.gd')
-rw-r--r-- | client/game.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/game.gd b/client/game.gd index 8fa4a2cc..c0c0bb55 100644 --- a/client/game.gd +++ b/client/game.gd @@ -232,7 +232,7 @@ func handle_packet(p): # after joining, the last item message that popped up is ignored. the next one will # be used for the tutorial if (player.is_customer - and not Global.get_setting("gameplay.tutorial_disabled") + and not Settings.read("gameplay.tutorial_disabled") and join_state == JoinState.JOINED): var completed_ingredients: Array = Global.get_profile("tutorial_ingredients_played") var completed := Global.array_has_all(completed_ingredients, ingredients) @@ -310,7 +310,7 @@ func handle_packet(p): while item_names[p.item] in tutorial_queue: tutorial_queue.erase(item_names[p.item]) - if not tutorial_queue.is_empty() and not Global.get_setting("gameplay.tutorial_disabled"): + if not tutorial_queue.is_empty() and not Settings.read("gameplay.tutorial_disabled"): tutorial_running = true update_tutorial_running.emit(tutorial_running) mp.send_chat(my_player_id, "/start-tutorial %s" % tutorial_queue.pop_front()) |