fix rotation

This commit is contained in:
Nikolay Fedorov
2026-04-23 18:39:58 +03:00
parent f28f21d5b4
commit b0ef832c64
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -396,6 +396,9 @@ func _enter_stun() -> void:
func _enter_chase() -> void:
state = State.CHASING
mat.albedo_color = COLOR_CHASE
mesh_node.rotation.y = 0.0
mesh_node1.rotation.y = 0.0
mesh_node2.rotation.y = 0.0
func _take_hit(dmg: int) -> void:
if state == State.DEAD: