Don't adjust twice.

This commit is contained in:
Kistaro Windrider 2023-04-02 19:05:15 -07:00
parent 00ea284cbc
commit 3a7bf9c2fb
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -143,7 +143,7 @@ func pickNextAction[C StatsCollection](p *Player[C]) (isCard bool, cardIdx int,
}
} else {
i = i - handOffset - 1
option, promptErr := promptCard(p, p.Hand[i-handOffset-1])
option, promptErr := promptCard(p, p.Hand[i])
if option >= 0 || IsSeriousError(promptErr) {
return true, i, option, nil
}