mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
clear triggerHandler moved to FGameState
This commit is contained in:
@@ -435,14 +435,11 @@ public final class AllZone implements NewConstants {
|
||||
* <p>Resets everything possible to set a new game.</p>
|
||||
*/
|
||||
public static void newGameCleanup() {
|
||||
|
||||
Singletons.getModel().getGameState().newGameCleanup();
|
||||
|
||||
|
||||
getDisplay().showCombat("");
|
||||
getDisplay().loadPrefs();
|
||||
|
||||
|
||||
getInputControl().clearInput();
|
||||
|
||||
getColorChanger().reset();
|
||||
@@ -450,9 +447,6 @@ public final class AllZone implements NewConstants {
|
||||
// player.reset() now handles this
|
||||
//AllZone.getHumanPlayer().clearHandSizeOperations();
|
||||
//AllZone.getComputerPlayer().clearHandSizeOperations();
|
||||
|
||||
getTriggerHandler().clearRegistered();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -296,6 +296,7 @@ public class FGameState {
|
||||
}
|
||||
|
||||
getStaticEffects().reset();
|
||||
getTriggerHandler().clearRegistered();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user