Don't adjust twice.
This commit is contained in:
parent
00ea284cbc
commit
3a7bf9c2fb
@ -143,7 +143,7 @@ func pickNextAction[C StatsCollection](p *Player[C]) (isCard bool, cardIdx int,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
i = i - handOffset - 1
|
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) {
|
if option >= 0 || IsSeriousError(promptErr) {
|
||||||
return true, i, option, nil
|
return true, i, option, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user