mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Fixed cards moving to the library not creating CombatLKI's.
This commit is contained in:
@@ -640,10 +640,6 @@ public class GameAction {
|
||||
return this.moveTo(removed, c);
|
||||
}
|
||||
|
||||
if (p != null) {
|
||||
p.remove(c);
|
||||
}
|
||||
|
||||
if (c.isToken()) {
|
||||
return c;
|
||||
}
|
||||
@@ -666,6 +662,14 @@ public class GameAction {
|
||||
library.add(c, libPosition);
|
||||
}
|
||||
|
||||
if (p != null) {
|
||||
if (p.is(ZoneType.Battlefield) && c.isCreature() && game.getCombat() != null) {
|
||||
game.getCombat().saveLKI(lastKnownInfo);
|
||||
game.getCombat().removeFromCombat(c);
|
||||
}
|
||||
p.remove(c);
|
||||
}
|
||||
|
||||
final HashMap<String, Object> runParams = new HashMap<String, Object>();
|
||||
runParams.put("Card", lastKnownInfo);
|
||||
if (p != null) {
|
||||
|
||||
Reference in New Issue
Block a user