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

Commit

Permalink
Merge branch 'master' into local
Browse files Browse the repository at this point in the history
  • Loading branch information
purerosefallen committed Mar 30, 2018
2 parents 4b11195 + 6456f2c commit 13c51b1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion gframe/event_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2253,7 +2253,6 @@ void ClientField::CancelOrFinish() {
mainGame->HideElement(mainGame->wQuery, true);
break;
}
case MSG_SELECT_UNSELECT_CARD:
case MSG_SELECT_CARD: {
if(selected_cards.size() == 0) {
if(select_cancelable) {
Expand Down Expand Up @@ -2281,6 +2280,17 @@ 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;
}
case MSG_SELECT_TRIBUTE: {
if(selected_cards.size() == 0) {
if(select_cancelable) {
Expand Down

0 comments on commit 13c51b1

Please sign in to comment.