fix unfocused animations in more places

This commit is contained in:
Haze Weathers 2024-03-05 22:16:59 -05:00
parent 0bae67fd3b
commit 0e63883cdd
3 changed files with 26 additions and 8 deletions

9
menus/credits.gd Normal file
View file

@ -0,0 +1,9 @@
extends Node
func _notification(what: int) -> void:
match what:
NOTIFICATION_WM_FOCUS_OUT:
$AnimationPlayer.playback_active = false
NOTIFICATION_WM_FOCUS_IN:
$AnimationPlayer.playback_active = true