mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
fixed packet length calculation bug, re-enabled deck selection
This commit is contained in:
parent
314f17091d
commit
38e4781624
7 changed files with 30 additions and 11 deletions
|
|
@ -123,7 +123,7 @@ void DeckViewContainer::loadLocalDeck()
|
|||
}
|
||||
|
||||
Command_DeckSelect cmd;
|
||||
cmd.set_deck(""); // XXX
|
||||
cmd.set_deck(deck->writeToString_Native().toStdString());
|
||||
PendingCommand *pend = static_cast<TabGame *>(parent())->prepareGameCommand(cmd);
|
||||
connect(pend, SIGNAL(finished(ProtocolResponse *)), this, SLOT(deckSelectFinished(ProtocolResponse *)));
|
||||
static_cast<TabGame *>(parent())->sendGameCommand(pend, playerId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue