Skip to content
This repository has been archived by the owner on Apr 6, 2018. It is now read-only.

Commit

Permalink
col
Browse files Browse the repository at this point in the history
  • Loading branch information
purerosefallen committed Mar 30, 2018
1 parent 6456f2c commit f69f82b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions gframe/event_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2220,16 +2220,16 @@ void ClientField::CancelOrFinish() {
break;
}
case MSG_SELECT_UNSELECT_CARD: {
if (select_cancelable) {
DuelClient::SetResponseI(-1);
ShowCancelOrFinishButton(0);
if (mainGame->wCardSelect->isVisible())
mainGame->HideElement(mainGame->wCardSelect, true);
else
DuelClient::SendResponse();
}
break;
}
if (select_cancelable) {
DuelClient::SetResponseI(-1);
ShowCancelOrFinishButton(0);
if (mainGame->wCardSelect->isVisible())
mainGame->HideElement(mainGame->wCardSelect, true);
else
DuelClient::SendResponse();
}
break;
}
case MSG_SELECT_TRIBUTE: {
if(selected_cards.size() == 0) {
if(select_cancelable) {
Expand Down

0 comments on commit f69f82b

Please sign in to comment.