Remove redundant setting initialization (done in SaveHandler.load)
This commit is contained in:
parent
569f6db40b
commit
f2c260ac57
1 changed files with 0 additions and 8 deletions
|
@ -63,14 +63,6 @@ export class SharkGame extends StaticClass {
|
|||
static readonly SaveHandler = SaveHandler;
|
||||
|
||||
static init(): void {
|
||||
Settings.settings.update((settings) => {
|
||||
for (const settingsCategory of Object.values(settings)) {
|
||||
for (const setting of Object.values(settingsCategory)) {
|
||||
setting.current = setting.default;
|
||||
}
|
||||
}
|
||||
return settings;
|
||||
});
|
||||
Log.init();
|
||||
|
||||
SaveHandler.load(this);
|
||||
|
|
Reference in a new issue