mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-21 23:00:24 -08:00
thread fixes
This commit is contained in:
@@ -821,6 +821,7 @@ ResponseCode Server_ProtocolHandler::cmdCreateToken(Command_CreateToken *cmd, Co
|
||||
y = 0;
|
||||
|
||||
Server_Card *card = new Server_Card(cmd->getCardName(), player->newCardId(), x, y);
|
||||
card->moveToThread(player->thread());
|
||||
card->setPT(cmd->getPt());
|
||||
card->setColor(cmd->getColor());
|
||||
card->setAnnotation(cmd->getAnnotation());
|
||||
|
||||
Reference in New Issue
Block a user