Commit 5b7dd037 authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

attach bug fix

parent f1584087
......@@ -764,6 +764,9 @@ ResponseCode Server_ProtocolHandler::cmdAttachCard(Command_AttachCard *cmd, Comm
if (!targetzone->hasCoords())
return RespContextError;
targetCard = targetzone->getCard(cmd->getTargetCardId(), false);
if (targetCard)
if (targetCard->getParentCard())
return RespContextError;
}
if (!startzone->hasCoords())
return RespContextError;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment