Fix move to top of library shuffling an extra card

This commit is contained in:
RickyRister 2025-03-01 00:12:17 -08:00
parent 448903efe3
commit de2f060e57

View file

@ -3186,7 +3186,7 @@ void Player::cardMenuAction()
auto *scmd = new Command_Shuffle;
scmd->set_zone_name("deck");
scmd->set_start(0);
scmd->set_end(idList.card_size());
scmd->set_end(idList.card_size() - 1);
// Server process events backwards, so...
commandList.append(scmd);
}