Fencepost error!

Also the title is visible.
This commit is contained in:
kistaro committed 2023-04-02 19:07:05 -07:00
1 parent 3a7bf9c2fb
commit e96d81a7b4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -135,7 +135,7 @@ func pickNextAction[C StatsCollection](p *Player[C]) (isCard bool, cardIdx int,
cls()
displayOnePanel(p, p.InfoPanels[i-1])
wait()
} else if i < handOffset {
} else if i <= handOffset {
i = i - actionsOffset - 1
option, promptErr := promptCard(p, p.PermanentActions[i])
if option >= 0 || IsSeriousError(promptErr) {