From 543f5bff7e2041ef9328680eab062e36e96fa309 Mon Sep 17 00:00:00 2001 From: melvin Date: Sat, 4 Jun 2011 17:39:39 +0800 Subject: [PATCH] use setter instead of directly changing member variable --- src/magic/model/MagicGame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/magic/model/MagicGame.java b/src/magic/model/MagicGame.java index d3e2c29082..b05008308e 100644 --- a/src/magic/model/MagicGame.java +++ b/src/magic/model/MagicGame.java @@ -269,7 +269,7 @@ public class MagicGame { public void changePhase(final MagicPhase phase) { if (phase.getType() == MagicPhaseType.Untap && turnPlayer.getIndex() == 0) { - passPriority=false; + setPassPriority(false); } this.phase=phase; step=MagicStep.Begin;