Fix standby lure chat input ownership

This commit is contained in:
Alexander Sellite 2026-08-24 10:36:16 -04:00
parent 219dbb5abc
commit a1ea341e8c
2 changed files with 16 additions and 2 deletions

View file

@ -781,7 +781,10 @@ func confirm_pending_bite() -> void:
func _set_bite_confirmation_pending(is_pending: bool) -> void:
if is_pending:
_set_fishing_input_priority(true)
# The Standby deliberately pauses before the fight begins. Keep chat and
# menus available during that pause; fishing only owns input once the
# player confirms the bite and enters the actual minigame.
_set_fishing_input_priority(false)
if _bite_confirmation_pending == is_pending:
if not is_pending:
_bite_confirmation_requested = false
@ -1142,7 +1145,6 @@ func _activate_bite(confirmation_override: bool = false) -> void:
):
_cancel_attempt()
return
_set_fishing_input_priority(true)
if (
not confirmation_override
and _active_lure_has_effect(&"deferred_fight")
@ -1155,6 +1157,7 @@ func _activate_bite(confirmation_override: bool = false) -> void:
_presentation.show_bite()
return
_set_fishing_input_priority(true)
_set_bite_confirmation_pending(false)
_pending_catch = _fish_selector.create_catch(_selected_fish)
if _pending_catch == null or not _pending_catch.is_valid():