Commit 036d2dd9 authored by mercury233's avatar mercury233 Committed by GitHub

fix MSG_SELECT_TRIBUTE cancel button

parent d38607cd
...@@ -2431,6 +2431,7 @@ void ClientField::CancelOrFinish() { ...@@ -2431,6 +2431,7 @@ void ClientField::CancelOrFinish() {
if(selected_cards.size() == 0) { if(selected_cards.size() == 0) {
if(select_cancelable) { if(select_cancelable) {
DuelClient::SetResponseI(-1); DuelClient::SetResponseI(-1);
ShowCancelOrFinishButton(0);
if(mainGame->wCardSelect->isVisible()) if(mainGame->wCardSelect->isVisible())
mainGame->HideElement(mainGame->wCardSelect, true); mainGame->HideElement(mainGame->wCardSelect, true);
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment