mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
removed call to global context for local property
This commit is contained in:
@@ -320,7 +320,7 @@ public class Phase extends MyObservable implements java.io.Serializable {
|
||||
AllZone.getPhase().setNeedToNextPhase(true);
|
||||
|
||||
else {
|
||||
if (!AllZone.getPhase().isPreventCombatDamageThisTurn())
|
||||
if (!isPreventCombatDamageThisTurn())
|
||||
Combat.dealAssignedDamage();
|
||||
|
||||
AllZone.getGameAction().checkStateEffects();
|
||||
@@ -335,7 +335,7 @@ public class Phase extends MyObservable implements java.io.Serializable {
|
||||
|
||||
AllZone.getCombat().setAssignedDamage();
|
||||
|
||||
if (!AllZone.getPhase().isPreventCombatDamageThisTurn())
|
||||
if (!isPreventCombatDamageThisTurn())
|
||||
Combat.dealAssignedDamage();
|
||||
|
||||
AllZone.getGameAction().checkStateEffects();
|
||||
|
||||
Reference in New Issue
Block a user