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.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user