From f69f82b4f2035e4a36e0e862907d84cc7997bafa Mon Sep 17 00:00:00 2001 From: purerosefallen <78877@qq.com> Date: Fri, 30 Mar 2018 20:44:13 +0800 Subject: [PATCH] col --- gframe/event_handler.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gframe/event_handler.cpp b/gframe/event_handler.cpp index 869633bd..0f32b96b 100644 --- a/gframe/event_handler.cpp +++ b/gframe/event_handler.cpp @@ -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) {