From fd6dcda54288c5c5fa6d5419f1924ad92b392fc0 Mon Sep 17 00:00:00 2001 From: tpart Date: Thu, 19 Sep 2024 18:33:42 +0200 Subject: Automatically start tutorial for first item requested --- client/player/player.gd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/player') diff --git a/client/player/player.gd b/client/player/player.gd index 4c835ff9..6962744c 100644 --- a/client/player/player.gd +++ b/client/player/player.gd @@ -44,6 +44,7 @@ var clear_timer: Timer = Timer.new() var hand: Item = null var hand_base: Node3D = Node3D.new() var character_idx: int +var is_customer: bool var _anim_angle: float = 0.0 @@ -74,6 +75,7 @@ func _init(_id: int, new_name: String, pos: Vector2, new_character_idx: int, new add_child(marker) character_idx = new_character_idx + is_customer = character_idx < 0 func _ready(): character.select_hairstyle(character_idx) -- cgit v1.3.1