From ee01846bd3d1ef3c3b364b79cb87d0ceded78fcf Mon Sep 17 00:00:00 2001 From: Maxmtg Date: Tue, 23 Oct 2012 11:44:28 +0000 Subject: [PATCH] X marks the spot there a GL trigger should be fired --- src/main/java/forge/GameAction.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/forge/GameAction.java b/src/main/java/forge/GameAction.java index bde33dec73b..2b1c852bad8 100644 --- a/src/main/java/forge/GameAction.java +++ b/src/main/java/forge/GameAction.java @@ -907,7 +907,9 @@ public class GameAction { GameEndReason reason = null; // award loses as SBE for (Player p : game.getPlayers() ) { - p.checkLoseCondition(); // this will set appropriate outcomes + if ( p.checkLoseCondition() ) { // this will set appropriate outcomes + // you may fire a trigger here + } } // Has anyone won by spelleffect?