Fixed the bounty board to show the "No bounties" message every time instead of only once

This commit is contained in:
Eddoursul 2025-08-31 03:20:33 +02:00
parent 0609e66c78
commit c87a349d69
2 changed files with 7 additions and 1 deletions

View File

@ -30,6 +30,7 @@ Event OnActivate (ObjectReference akActionRef)
M_one (_00E_NQ_Bounty_mainMenu_mb) M_one (_00E_NQ_Bounty_mainMenu_mb)
elseif ( BountyScript._00E_NQ_Bounty01_Status == 10) elseif ( BountyScript._00E_NQ_Bounty01_Status == 10)
_00E_NQ_Bounty_noMissions_mb.Show() _00E_NQ_Bounty_noMissions_mb.Show()
GotoState("")
return return
ElseIf ( BountyScript._00E_NQ_Bounty01_Status == 2) ;APPEARS WHEN TARGET IS KILLED - REWARD BLOCK ElseIf ( BountyScript._00E_NQ_Bounty01_Status == 2) ;APPEARS WHEN TARGET IS KILLED - REWARD BLOCK
@ -65,7 +66,12 @@ EndEvent
State TurnOffActivate State TurnOffActivate
Event OnActivate(ObjectReference akActionRef) Event OnActivate(ObjectReference akActionRef)
; Do nothing ; 2.1.4 Eddoursul: If player activated the board after the last mission, the script was sent to this state forever.
; Fixed to show the _00E_NQ_Bounty_noMissions_mb message every time.
if BountyScript._00E_NQ_Bounty01_Status == 10
_00E_NQ_Bounty_noMissions_mb.Show()
GotoState("")
endif
endEvent endEvent
endState endState