mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Commented out 4 of the 5 instances of GuiDisplayUtil.updateGUI(). It looks like one is enough.
This commit is contained in:
@@ -74,7 +74,7 @@ public class InputPassPriority extends Input implements java.io.Serializable {
|
|||||||
@Override
|
@Override
|
||||||
public final void selectButtonOK() {
|
public final void selectButtonOK() {
|
||||||
Singletons.getModel().getGameState().getPhaseHandler().passPriority();
|
Singletons.getModel().getGameState().getPhaseHandler().passPriority();
|
||||||
GuiDisplayUtil.updateGUI();
|
//GuiDisplayUtil.updateGUI();
|
||||||
final Input in = AllZone.getInputControl().getInput();
|
final Input in = AllZone.getInputControl().getInput();
|
||||||
if ((in == this) || (in == null)) {
|
if ((in == this) || (in == null)) {
|
||||||
AllZone.getInputControl().resetInput();
|
AllZone.getInputControl().resetInput();
|
||||||
|
|||||||
@@ -467,7 +467,7 @@ public class MagicStack extends MyObservable {
|
|||||||
// TODO: make working triggered ability
|
// TODO: make working triggered ability
|
||||||
sp.resolve();
|
sp.resolve();
|
||||||
Singletons.getModel().getGameAction().checkStateEffects();
|
Singletons.getModel().getGameAction().checkStateEffects();
|
||||||
GuiDisplayUtil.updateGUI();
|
//GuiDisplayUtil.updateGUI();
|
||||||
} else {
|
} else {
|
||||||
if (sp.isKickerAbility()) {
|
if (sp.isKickerAbility()) {
|
||||||
sp.getSourceCard().setKicked(true);
|
sp.getSourceCard().setKicked(true);
|
||||||
@@ -936,7 +936,7 @@ public class MagicStack extends MyObservable {
|
|||||||
// Resolving the Stack
|
// Resolving the Stack
|
||||||
|
|
||||||
// TODO: change to use forge.view.FView?
|
// TODO: change to use forge.view.FView?
|
||||||
GuiDisplayUtil.updateGUI();
|
//GuiDisplayUtil.updateGUI();
|
||||||
|
|
||||||
this.freezeStack(); // freeze the stack while we're in the middle of
|
this.freezeStack(); // freeze the stack while we're in the middle of
|
||||||
// resolving
|
// resolving
|
||||||
@@ -1151,7 +1151,7 @@ public class MagicStack extends MyObservable {
|
|||||||
this.curResolvingCard = null;
|
this.curResolvingCard = null;
|
||||||
|
|
||||||
// TODO: change to use forge.view.FView?
|
// TODO: change to use forge.view.FView?
|
||||||
GuiDisplayUtil.updateGUI();
|
//GuiDisplayUtil.updateGUI();
|
||||||
this.updateObservers();
|
this.updateObservers();
|
||||||
|
|
||||||
// TODO: this is a huge hack. Why is this necessary?
|
// TODO: this is a huge hack. Why is this necessary?
|
||||||
|
|||||||
Reference in New Issue
Block a user