From 294f87adb4441ec25316601505ca1a7e97fa24c7 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 19 Jul 2024 14:24:09 +0200 Subject: update --- Scenes/Entities/Bombs/Bomb.gd | 5 ++--- Scenes/Entities/Bombs/Bomb__Breakables.tscn | 2 +- Scenes/Entities/Bombs/Bomb__Normal.tscn | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'Scenes/Entities/Bombs') diff --git a/Scenes/Entities/Bombs/Bomb.gd b/Scenes/Entities/Bombs/Bomb.gd index 0456c15..4a4e901 100644 --- a/Scenes/Entities/Bombs/Bomb.gd +++ b/Scenes/Entities/Bombs/Bomb.gd @@ -1,6 +1,5 @@ -extends CharacterBody2D - class_name Bomb +extends CharacterBody2D signal body_exited @@ -144,7 +143,7 @@ func _collide(area: Area2D): call_deferred("explode") -func _on_Timer_timeout(): +func _on_timer_timeout(): self.explode() diff --git a/Scenes/Entities/Bombs/Bomb__Breakables.tscn b/Scenes/Entities/Bombs/Bomb__Breakables.tscn index a4bb192..92a4900 100644 --- a/Scenes/Entities/Bombs/Bomb__Breakables.tscn +++ b/Scenes/Entities/Bombs/Bomb__Breakables.tscn @@ -47,4 +47,4 @@ wait_time = 4.0 one_shot = true autostart = true -[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] +[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"] diff --git a/Scenes/Entities/Bombs/Bomb__Normal.tscn b/Scenes/Entities/Bombs/Bomb__Normal.tscn index d42223e..cb6813a 100644 --- a/Scenes/Entities/Bombs/Bomb__Normal.tscn +++ b/Scenes/Entities/Bombs/Bomb__Normal.tscn @@ -47,4 +47,4 @@ wait_time = 4.0 one_shot = true autostart = true -[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] +[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"] -- cgit v1.2.3