minor stuff

This commit is contained in:
Jonas Braus
2024-08-04 20:42:14 +02:00
parent ba42f2b7ad
commit 3f4a905999
4 changed files with 7 additions and 4 deletions
+3
View File
@@ -75,6 +75,9 @@ func _physics_process(delta):
@onready var die_sound = $dieSound
func f_die():
gravity_scale = 0
collision_shape_2d.queue_free()
die.queue_free()
die_sound.play()
speed = 0
innocent = true