fix for last commit: stomping restored

This commit is contained in:
Jakob Feldmann 2023-04-04 16:46:25 +02:00
parent 4238855751
commit 403750a9b0

View File

@ -25,6 +25,8 @@ var shielded = false
# When the Enemy stomp AREA enters the enemy collision area -> stomp # When the Enemy stomp AREA enters the enemy collision area -> stomp
func _on_BlobbySkin_area_entered(area: Area2D) -> void: func _on_BlobbySkin_area_entered(area: Area2D) -> void:
if area.is_in_group("weakpoint"):
stomping = true
if area.is_in_group("harmful") && !levelState.is_dead: if area.is_in_group("harmful") && !levelState.is_dead:
die() die()
if area.is_in_group("pit"): if area.is_in_group("pit"):