From eeb561ef3c36761e63b57848343d628c9802fc97 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Mon, 10 Jan 2011 13:55:26 +0300 Subject: [PATCH] fixed Issue 24: GainControlTargetEffect does not work properly with Duration.EndOfTurn as Duration --- Mage/src/mage/game/permanent/PermanentImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Mage/src/mage/game/permanent/PermanentImpl.java b/Mage/src/mage/game/permanent/PermanentImpl.java index 688861c25a..e2c88f66ae 100644 --- a/Mage/src/mage/game/permanent/PermanentImpl.java +++ b/Mage/src/mage/game/permanent/PermanentImpl.java @@ -169,6 +169,7 @@ public abstract class PermanentImpl> extends CardImpl for (Ability ability: this.abilities) { ability.reset(game); } + this.controllerId = this.ownerId; } @Override