mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +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);
|
AllZone.getPhase().setNeedToNextPhase(true);
|
||||||
|
|
||||||
else {
|
else {
|
||||||
if (!AllZone.getPhase().isPreventCombatDamageThisTurn())
|
if (!isPreventCombatDamageThisTurn())
|
||||||
Combat.dealAssignedDamage();
|
Combat.dealAssignedDamage();
|
||||||
|
|
||||||
AllZone.getGameAction().checkStateEffects();
|
AllZone.getGameAction().checkStateEffects();
|
||||||
@@ -335,7 +335,7 @@ public class Phase extends MyObservable implements java.io.Serializable {
|
|||||||
|
|
||||||
AllZone.getCombat().setAssignedDamage();
|
AllZone.getCombat().setAssignedDamage();
|
||||||
|
|
||||||
if (!AllZone.getPhase().isPreventCombatDamageThisTurn())
|
if (!isPreventCombatDamageThisTurn())
|
||||||
Combat.dealAssignedDamage();
|
Combat.dealAssignedDamage();
|
||||||
|
|
||||||
AllZone.getGameAction().checkStateEffects();
|
AllZone.getGameAction().checkStateEffects();
|
||||||
|
|||||||
Reference in New Issue
Block a user