This commit is contained in:
2025-10-28 02:22:59 +01:00
parent bfd653c136
commit f6fe381551
17 changed files with 647 additions and 157 deletions

View File

@@ -72,5 +72,5 @@ func _physics_process(delta: float) -> void:
func _unhandled_input(event: InputEvent) -> void:
if event is InputEventMouse:
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
elif !event.is_action("escape"):
elif EventManager.player_free && !EventManager.animation_player.is_playing() && !event.is_action("escape"):
Input.mouse_mode = Input.MOUSE_MODE_HIDDEN