From 5c340a2fb57e0228ddcb803ad756ba8de4ca6f0d Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Sun, 25 Mar 2012 11:47:17 +0000 Subject: [PATCH] made it even more specific to the exploit, when you open the option menu while abilitiesmenu is open for the purpose of canceling then undo last action. --- projects/mtg/src/GameStateDuel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/GameStateDuel.cpp b/projects/mtg/src/GameStateDuel.cpp index a9e50f577..f4bc5dd7d 100644 --- a/projects/mtg/src/GameStateDuel.cpp +++ b/projects/mtg/src/GameStateDuel.cpp @@ -903,7 +903,7 @@ void GameStateDuel::ButtonPressed(int controllerId, int controlId) break; default: - if(game->mLayers->actionLayer()->abilitiesMenu) + if(game->mLayers->actionLayer()->abilitiesMenu && controlId == MENUITEM_CANCEL) { game->undo(); menu->Close();