mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-28 09:33:55 -07:00
addCounter bugfix
This commit is contained in:
parent
ae39dc7fa1
commit
4bc76600e8
1 changed files with 1 additions and 1 deletions
|
|
@ -558,7 +558,7 @@ void Player::gameEvent(const ServerEventData &event)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case eventAddCounter: {
|
case eventAddCounter: {
|
||||||
if (data.size() != 4)
|
if (data.size() != 5)
|
||||||
break;
|
break;
|
||||||
int counterId = data[0].toInt();
|
int counterId = data[0].toInt();
|
||||||
QString counterName = data[1];
|
QString counterName = data[1];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue