rebind debug menu; fix: start sequence doesn't happen if level.active == true

This commit is contained in:
Michael Campbell 2026-04-16 21:53:17 -04:00
parent 5d15de631a
commit e57db65b33
2 changed files with 4 additions and 1 deletions

View file

@ -25,6 +25,9 @@ func _ready() -> void:
%ResultsScreen.hide() %ResultsScreen.hide()
level = self level = self
if active:
start_game()
func _on_player_died() -> void: func _on_player_died() -> void:
active = false active = false
%DeathAnimation.play(&"death") %DeathAnimation.play(&"death")

View file

@ -73,7 +73,7 @@ dash={
} }
debug_menu={ debug_menu={
"deadzone": 0.2, "deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":96,"key_label":0,"unicode":96,"location":0,"echo":false,"script":null) "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":true,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":96,"key_label":0,"unicode":96,"location":0,"echo":false,"script":null)
] ]
} }
sharpshooter={ sharpshooter={