fixed bug in Maralen of the Mornsong effect only applying to owner

This commit is contained in:
Andy Fries 2015-02-17 22:35:56 -08:00
parent 96fe50cebe
commit de1f8271ae

View file

@ -126,7 +126,8 @@ class MaralenOfTheMornsongEffect2 extends OneShotEffect {
@Override @Override
public boolean apply(Game game, Ability source) { public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getControllerId()); UUID activePlayerId = game.getActivePlayerId();
Player player = game.getPlayer(activePlayerId);
if (player != null) { if (player != null) {
player.loseLife(3, game); player.loseLife(3, game);
TargetCardInLibrary target = new TargetCardInLibrary(); TargetCardInLibrary target = new TargetCardInLibrary();