- Fixed a bug with the MustBeBlocked SVar.

This commit is contained in:
Sloth
2012-01-26 12:43:05 +00:00
parent f0012561b0
commit a388d74e3d

View File

@@ -1138,7 +1138,7 @@ public class CombatUtil {
final CardList blockers = combat.getBlockers(attacker); final CardList blockers = combat.getBlockers(attacker);
if (blockers.size() == 0) { if (blockers.size() == 0) {
if (attacker.getSVar("MustBeBlocked") != null) { if (!attacker.getSVar("MustBeBlocked").equals("")) {
return true; return true;
} }
} }
@@ -1192,7 +1192,7 @@ public class CombatUtil {
final CardList blockers = combat.getBlockers(attacker); final CardList blockers = combat.getBlockers(attacker);
if (blockers.size() == 0) { if (blockers.size() == 0) {
if (attacker.getSVar("MustBeBlocked") != null) { if (!attacker.getSVar("MustBeBlocked").equals("")) {
return true; return true;
} }
} }