mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 11:33:55 -07:00
bug fixed
This commit is contained in:
parent
5cf970f0f3
commit
6049a601fb
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ void Player::actDrawCard()
|
||||||
|
|
||||||
void Player::actMuligan()
|
void Player::actMuligan()
|
||||||
{
|
{
|
||||||
if(cardsInHand >= 0) return;
|
if(cardsInHand <= 0) return;
|
||||||
CardList handCards = hand->getCards();
|
CardList handCards = hand->getCards();
|
||||||
for(int i = 0; i < handCards.size(); i++){
|
for(int i = 0; i < handCards.size(); i++){
|
||||||
client->moveCard(handCards.at(i)->getId(),"hand","deck",0);
|
client->moveCard(handCards.at(i)->getId(),"hand","deck",0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue