summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/game.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/game.gd b/client/game.gd
index c36bc643..bb0279de 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -233,11 +233,11 @@ func handle_packet(p):
"tutorial_ended":
tutorial_running = false
var played: Array = Global.get_profile("tutorials_played")
- played.append(p.item)
+ played.append(item_names[p.item])
Global.set_profile("tutorials_played", played)
Global.save_profile()
- tutorial_queue.erase(p.item)
+ tutorial_queue.erase(item_names[p.item])
if not tutorial_queue.is_empty():
tutorial_running = true