summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/game.gd6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/game.gd b/client/game.gd
index 7a0b1591..d87a091c 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -210,7 +210,11 @@ func handle_packet(p):
player.item_message(item_name, timeout_initial, timeout_remaining)
# Maybe start tutorial
- if player.is_customer and not Global.get_setting("gameplay.tutorial_disabled"):
+ # 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 join_state == JoinState.JOINED):
var completed_ingredients: Array = Global.get_profile("tutorial_ingredients_played")
var completed := Global.array_has_all(completed_ingredients, ingredients)