Skip to content

Commit

Permalink
fix Patience missing one coil on forget
Browse files Browse the repository at this point in the history
  • Loading branch information
dbjorge committed Oct 13, 2019
1 parent 269d38e commit 334dd04
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private void removeOtherMemories() {
if (oldPower instanceof AbstractMemoryPower) {
AbstractMemoryPower oldMemory = (AbstractMemoryPower) oldPower;
if (!oldMemory.isClarified) {
AbstractDungeon.actionManager.addToTop(new RemoveSpecificPowerAction(target, source, oldMemory));
AbstractDungeon.actionManager.addToBottom(new RemoveSpecificPowerAction(target, source, oldMemory));
}
}
}
Expand All @@ -44,12 +44,12 @@ public void update() {
return;
}

AbstractDungeon.actionManager.addToTop(new ApplyPowerAction(target, source, memoryToRemember));

if (!memoryToRemember.isClarified) {
removeOtherMemories();
}

AbstractDungeon.actionManager.addToBottom(new ApplyPowerAction(target, source, memoryToRemember));

isDone = true;
}
}

0 comments on commit 334dd04

Please sign in to comment.