mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 16:32:16 -07:00
leave comment
This commit is contained in:
parent
d2d6615d0f
commit
2c53cc047b
1 changed files with 3 additions and 0 deletions
|
|
@ -1358,6 +1358,9 @@ Server_Player::cmdAttachCard(const Command_AttachCard &cmd, ResponseContainer &
|
||||||
return Response::RespNameNotFound;
|
return Response::RespNameNotFound;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// prevent attaching from non-table zones
|
||||||
|
// (attaching from non-table zones is handled client-side by moving the card to table zone first)
|
||||||
if (!startzone->hasCoords()) {
|
if (!startzone->hasCoords()) {
|
||||||
return Response::RespContextError;
|
return Response::RespContextError;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue