mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
change cards from sb<->mb with double-click (#2606)
This commit is contained in:
parent
2c551bdd35
commit
62d8f5a039
3 changed files with 37 additions and 2 deletions
|
|
@ -277,7 +277,7 @@ void DeckViewContainer::sideboardPlanChanged()
|
|||
Command_SetSideboardPlan cmd;
|
||||
const QList<MoveCard_ToZone> &newPlan = deckView->getSideboardPlan();
|
||||
for (int i = 0; i < newPlan.size(); ++i)
|
||||
cmd.add_move_list()->CopyFrom(newPlan[i]);
|
||||
cmd.add_move_list()->CopyFrom(newPlan.at(i));
|
||||
parentGame->sendGameCommand(cmd, playerId);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue