mirror of https://github.com/FreeCol/freecol.git
Starts game option settings fresh every time. We should probably add support for loading and saving options back in.
This commit is contained in:
parent
93fddc0a21
commit
955ba1ca5d
|
@ -51,8 +51,6 @@ public final class GameOptionsDialog extends OptionsDialog {
|
|||
freeColClient.getGame().getGameOptions(), GameOptions.TAG,
|
||||
FreeColDirectories.GAME_OPTIONS_FILE_NAME, GameOptions.TAG, editable);
|
||||
|
||||
if (isEditable()) loadDefaultOptions();
|
||||
|
||||
// Set special cases
|
||||
// Disable victory option "All humans defeated"
|
||||
// when playing single player
|
||||
|
|
|
@ -1225,6 +1225,7 @@ public final class Specification implements OptionContainer {
|
|||
*/
|
||||
public boolean updateGameAndMapOptions() {
|
||||
boolean ret = false;
|
||||
/*
|
||||
String gtag = GameOptions.TAG;
|
||||
File gof = FreeColDirectories
|
||||
.getOptionsFile(FreeColDirectories.GAME_OPTIONS_FILE_NAME);
|
||||
|
@ -1238,7 +1239,6 @@ public final class Specification implements OptionContainer {
|
|||
}
|
||||
gog.save(gof, null, true);
|
||||
|
||||
/*
|
||||
String mtag = MapGeneratorOptions.TAG;
|
||||
File mof = FreeColDirectories
|
||||
.getOptionsFile(FreeColDirectories.MAP_GENERATOR_OPTIONS_FILE_NAME);
|
||||
|
|
Loading…
Reference in New Issue