fixes extra typos and lost references

This commit is contained in:
2026-02-21 05:11:09 +11:00
parent 5a4ad8633a
commit c838fd2a33
95 changed files with 277 additions and 268 deletions

View File

@@ -7,7 +7,7 @@ extends HeroState
func enter_state() -> void:
if hero.game_manager:
hero.game_manager.level.enable_non_path_tower_frames()
hero.edit_tool.enabled = true
hero.path_tool.enabled = true
hero.left_hand_model.visible = true
hero.gauntlet_model.visible = true
hero.cassette.visible = false
@@ -28,8 +28,8 @@ func anim2(x: float) -> void:
func exit_state() -> void:
hero.edit_tool.interact_key_held = false
hero.edit_tool.enabled = false
hero.path_tool.interact_key_held = false
hero.path_tool.enabled = false
hero.cassette.visible = true
if hero.game_manager:
hero.game_manager.level.disable_all_tower_frames()
@@ -38,9 +38,9 @@ func exit_state() -> void:
func process_state(_delta: float) -> void:
hero.check_world_button()
if Input.is_action_just_pressed("Primary Fire"):
hero.edit_tool.interact_key_held = true
hero.path_tool.interact_key_held = true
if Input.is_action_just_released("Primary Fire"):
hero.edit_tool.interact_key_held = false
hero.path_tool.interact_key_held = false
if Input.is_action_just_pressed("Swap Weapons"):
state_changed.emit(swap_state)
if Input.is_action_just_pressed("Ready"):