forked from External/mage
added optimization for simulations - don't construct Strings for messages that will never be used
This commit is contained in:
parent
9f834bc6f7
commit
a878d4879b
67 changed files with 313 additions and 205 deletions
|
|
@ -64,7 +64,8 @@ public class FightTargetSourceEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
}
|
||||
game.informPlayers(originalPermanent.getLogName() + ": Fighting effect has been fizzled.");
|
||||
if (!game.isSimulation())
|
||||
game.informPlayers(originalPermanent.getLogName() + ": Fighting effect has been fizzled.");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue