mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
fix a spelling error in checkEndGameState method name in GameAction
This commit is contained in:
@@ -723,7 +723,7 @@ public class GameAction {
|
|||||||
*
|
*
|
||||||
* @return a boolean.
|
* @return a boolean.
|
||||||
*/
|
*/
|
||||||
public final boolean checkEndGameSate() {
|
public final boolean checkEndGameState() {
|
||||||
// Win / Lose
|
// Win / Lose
|
||||||
final GameSummary game = AllZone.getGameInfo();
|
final GameSummary game = AllZone.getGameInfo();
|
||||||
boolean humanWins = false;
|
boolean humanWins = false;
|
||||||
@@ -812,7 +812,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.canShowWinLose && this.checkEndGameSate()) {
|
if (this.canShowWinLose && this.checkEndGameState()) {
|
||||||
AllZone.getDisplay().savePrefs();
|
AllZone.getDisplay().savePrefs();
|
||||||
// frame.setEnabled(false);
|
// frame.setEnabled(false);
|
||||||
// frame.dispose();
|
// frame.dispose();
|
||||||
|
|||||||
Reference in New Issue
Block a user