Update cockatrice/src/game/player/player.cpp

This commit is contained in:
ebbit1q 2025-03-01 13:31:42 +01:00 committed by GitHub
parent de2f060e57
commit 1f494246e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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() - 1);
scmd->set_end(idList.card_size() - 1); // inclusive, the indexed card at end will be shuffled
// Server process events backwards, so...
commandList.append(scmd);
}