- checkStaticAbilities will no longer do anything when the game is over.

This commit is contained in:
Sloth
2013-04-29 14:13:05 +00:00
parent 0a976a3e31
commit ef7c3f3308

View File

@@ -854,6 +854,10 @@ public class GameAction {
/** */ /** */
public final void checkStaticAbilities() { public final void checkStaticAbilities() {
if (game.isGameOver())
return;
// remove old effects // remove old effects
game.getStaticEffects().clearStaticEffects(); game.getStaticEffects().clearStaticEffects();
game.getTriggerHandler().cleanUpTemporaryTriggers(); game.getTriggerHandler().cleanUpTemporaryTriggers();