Merge pull request #734 from andyfries/master

fixed bug in Maralen of the Mornsong effect only applying to owner
This commit is contained in:
LevelX2 2015-02-18 08:41:07 +01:00
commit cb9030d28e

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();