From 90cea7f1d019352a4e305ab80032893439a97fcf Mon Sep 17 00:00:00 2001 From: tpart Date: Thu, 19 Sep 2024 22:06:42 +0200 Subject: Ignore tutorial ended packet if player id doesn't match --- client/game.gd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client') diff --git a/client/game.gd b/client/game.gd index bb0279de..08493b2e 100644 --- a/client/game.gd +++ b/client/game.gd @@ -231,6 +231,8 @@ func handle_packet(p): if p.time_remaining != null: overlay.update(p.demands_failed, p.demands_completed, p.points, p.time_remaining) "tutorial_ended": + if p.player != player_id: return + tutorial_running = false var played: Array = Global.get_profile("tutorials_played") played.append(item_names[p.item]) -- cgit v1.2.3-70-g09d2