* Thought Reflection - fixed endless loop if more than one Thought Refelection in play for one player.

This commit is contained in:
LevelX2 2013-12-24 09:23:45 +01:00
parent 7488679872
commit 6daa90e449

View file

@ -94,7 +94,7 @@ class ThoughtReflectionReplacementEffect extends ReplacementEffectImpl<ThoughtRe
public boolean replaceEvent(GameEvent event, Ability source, Game game) { public boolean replaceEvent(GameEvent event, Ability source, Game game) {
Player you = game.getPlayer(event.getPlayerId()); Player you = game.getPlayer(event.getPlayerId());
if (you != null) { if (you != null) {
you.drawCards(2, game); you.drawCards(2, game, event.getAppliedEffects());
} }
return true; return true;
} }
@ -107,4 +107,4 @@ class ThoughtReflectionReplacementEffect extends ReplacementEffectImpl<ThoughtRe
} }
return false; return false;
} }
} }