fix to my fix, commited the wrong version of it :)
This commit is contained in:
@@ -3040,7 +3040,7 @@ MayAbility::MayAbility(GameObserver* observer, int _id, MTGAbility * _ability, M
|
||||
void MayAbility::Update(float dt)
|
||||
{
|
||||
MTGAbility::Update(dt);
|
||||
if (!triggered && !game->getCurrentTargetChooser() && !game->mLayers->actionLayer()->menuObject)
|
||||
if (!triggered && !game->getCurrentTargetChooser() && (!game->mLayers->actionLayer()->menuObject||game->mLayers->actionLayer()->menuObject == source))
|
||||
{
|
||||
triggered = 1;
|
||||
if(optionalCost && !source->controller()->getManaPool()->canAfford(optionalCost))
|
||||
|
||||
Reference in New Issue
Block a user