From 276b7664bd4a475a3ca93a682c16b49c504c58f7 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 6 May 2024 16:30:46 +0200 Subject: update --- Scenes/Entities/Player.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scenes/Entities/Player.gd') diff --git a/Scenes/Entities/Player.gd b/Scenes/Entities/Player.gd index 77dfac5..1e4b0c2 100644 --- a/Scenes/Entities/Player.gd +++ b/Scenes/Entities/Player.gd @@ -183,7 +183,7 @@ func plant_bomb(): self.bombs.append(bomb) self.last_planted_bomb = bomb - bomb.connect("exploded", func(_bomb): + bomb.tree_exited.connect(func(): self.bombs.erase(bomb) if self.last_planted_bomb == bomb: self.last_planted_bomb = null -- cgit v1.2.3