1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Switches to using ES6 get/set for currentBaseRotation.

This commit is contained in:
Magnus Grimstvedt Saltnes
2020-06-23 12:03:32 +02:00
parent e18a888210
commit 553ebb5ef6
3 changed files with 42 additions and 34 deletions

View File

@@ -248,7 +248,7 @@ export const allApplicationSettings = [
new BoolSetting("alwaysMultiplace", categoryGame, (app, value) => {}),
new BoolSetting("enableTunnelSmartplace", categoryGame, (app, value) => {}),
new BoolSetting("vignette", categoryGame, (app, value) => {}),<<<<<<< HEAD
new BoolSetting("vignette", categoryGame, (app, value) => {}),
new BoolSetting("compactBuildingInfo", categoryGame, (app, value) => {}),
new BoolSetting("disableCutDeleteWarnings", categoryGame, (app, value) => {}),
new BoolSetting("rotationByBuilding", categoryGame, (app, value) => {}),
@@ -280,7 +280,6 @@ class SettingsStorage {
this.disableCutDeleteWarnings = false;
this.rotationByBuilding = true;
this.enableColorBlindHelper = false;
/**
@@ -554,7 +553,7 @@ export class ApplicationSettings extends ReadWriteProxy {
data.settings.enableColorBlindHelper = false;
data.version = 17;
}
if(data.version < 18) {
if (data.version < 18) {
data.settings.rotationByBuilding = true;
data.version = 18;
}