fixed Enhanced Surveillance affecting all players rather than just controller

This commit is contained in:
Evan Kranzler 2018-09-22 20:22:44 -04:00
parent 4e5bdb5cff
commit 56c1b17dd7

View file

@ -72,7 +72,7 @@ class EnhancedSurveillanceReplacementEffect extends ReplacementEffectImpl {
@Override
public boolean applies(GameEvent event, Ability source, Game game) {
return true;
return event.getPlayerId().equals(source.getControllerId());
}
@Override