mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Minor bugfixes
This commit is contained in:
parent
a11f93df4d
commit
e31cfd32b1
9 changed files with 26 additions and 17 deletions
|
|
@ -102,11 +102,6 @@ void Client::readLine()
|
|||
c = i.next();
|
||||
if (c->getMsgId() == msgid) {
|
||||
found = true;
|
||||
|
||||
QString cmd = c->getCmd();
|
||||
if (cmd.startsWith("submit_deck"))
|
||||
readyStart();
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -276,14 +271,13 @@ int Client::setCardAttr(const QString &zone, int cardid, const QString &aname, c
|
|||
return cmd(QString("set_card_attr|%1|%2|%3|%4").arg(zone).arg(cardid).arg(aname).arg(avalue));
|
||||
}
|
||||
|
||||
int Client::submitDeck(const QStringList &deck)
|
||||
void Client::submitDeck(const QStringList &deck)
|
||||
{
|
||||
int retval = cmd("submit_deck");
|
||||
cmd("submit_deck");
|
||||
QStringListIterator i(deck);
|
||||
while (i.hasNext())
|
||||
msg(i.next());
|
||||
msg(".");
|
||||
return retval;
|
||||
}
|
||||
|
||||
int Client::readyStart()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue