mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Fix shuffle (#3578)
This commit is contained in:
parent
5b197c072e
commit
d49ec0088f
1 changed files with 1 additions and 1 deletions
|
|
@ -852,7 +852,7 @@ Server_Player::cmdShuffle(const Command_Shuffle &cmd, ResponseContainer & /*rc*/
|
|||
if (conceded)
|
||||
return Response::RespContextError;
|
||||
|
||||
if (cmd.zone_name() != "deck")
|
||||
if (cmd.has_zone_name() && cmd.zone_name() != "deck")
|
||||
return Response::RespFunctionNotAllowed;
|
||||
|
||||
Server_CardZone *zone = zones.value("deck");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue