mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
server crash and inconsistency fix
This commit is contained in:
parent
4387f05ffa
commit
ec602aefe1
2 changed files with 8 additions and 9 deletions
|
|
@ -37,15 +37,11 @@ Server_Card::~Server_Card()
|
|||
|
||||
void Server_Card::resetState()
|
||||
{
|
||||
setCoords(0, 0);
|
||||
counters.clear();
|
||||
setTapped(false);
|
||||
setAttacking(false);
|
||||
setFaceDown(false);
|
||||
setColor(QString());
|
||||
setPT(QString());
|
||||
setAnnotation(QString());
|
||||
setDestroyOnZoneChange(false);
|
||||
setDoesntUntap(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue