mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fixed AF GainControl not setting the right controller for spells.
This commit is contained in:
@@ -411,7 +411,11 @@ public class AbilityFactoryGainControl {
|
||||
GameEntity newController;
|
||||
|
||||
if (controllers.size() == 0) {
|
||||
newController = this.hostCard;
|
||||
if (sa.isSpell()) {
|
||||
newController = sa.getActivatingPlayer();
|
||||
} else {
|
||||
newController = this.hostCard;
|
||||
}
|
||||
} else {
|
||||
newController = controllers.get(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user