diff options
author | tpart <tpart120@proton.me> | 2024-09-19 22:20:13 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-09-19 22:20:13 +0200 |
commit | a1bb61eb9aabcc786649693d64024515e4fdd87a (patch) | |
tree | 7f6a27eb539f3caf256e8ff2f8c758629410c866 | |
parent | 90cea7f1d019352a4e305ab80032893439a97fcf (diff) | |
download | hurrycurry-a1bb61eb9aabcc786649693d64024515e4fdd87a.tar hurrycurry-a1bb61eb9aabcc786649693d64024515e4fdd87a.tar.bz2 hurrycurry-a1bb61eb9aabcc786649693d64024515e4fdd87a.tar.zst |
Fix: Remove all occurences of finished tutorial in tutorial queue
-rw-r--r-- | client/game.gd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/game.gd b/client/game.gd index 08493b2e..94826b1c 100644 --- a/client/game.gd +++ b/client/game.gd @@ -239,7 +239,8 @@ func handle_packet(p): Global.set_profile("tutorials_played", played) Global.save_profile() - tutorial_queue.erase(item_names[p.item]) + while item_names[p.item] in tutorial_queue: + tutorial_queue.erase(item_names[p.item]) if not tutorial_queue.is_empty(): tutorial_running = true |