Added enemy chasing
This commit is contained in:
@@ -71,7 +71,7 @@ func _physics_process(delta: float) -> void:
|
||||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("switch_color"):
|
||||
if event.is_action_pressed("switch_color") and _is_alive:
|
||||
collision_switcher.switch_color(switch_time)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user