mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- checkStaticAbilities will no longer do anything when the game is over.
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user