mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Update settings version and changelog
This commit is contained in:
parent
3741934b39
commit
10507b735a
@ -28,7 +28,8 @@ export const CHANGELOG = [
|
||||
"Allow editing waypoints (by isaisstillalive)",
|
||||
"Show confirmation when cutting area which is too expensive to get pasted again (by isaisstillalive)",
|
||||
"Show mouse and camera tile on debug overlay (F4) (by dengr)",
|
||||
"Fix tunnels entrances connecting to exits sometimes when they shouldn't",
|
||||
"Fixed tunnels entrances connecting to exits sometimes when they shouldn't",
|
||||
"Added setting to auto select the extractor when pipetting a resource patch (by Exund)",
|
||||
"The initial belt planner direction is now based on the cursor movement (by MizardX)",
|
||||
"Fix preferred variant not getting saved when clicking on the hud (by Danacus)",
|
||||
],
|
||||
|
@ -523,7 +523,7 @@ export class ApplicationSettings extends ReadWriteProxy {
|
||||
}
|
||||
|
||||
getCurrentVersion() {
|
||||
return 25;
|
||||
return 26;
|
||||
}
|
||||
|
||||
/** @param {{settings: SettingsStorage, version: number}} data */
|
||||
@ -630,11 +630,6 @@ export class ApplicationSettings extends ReadWriteProxy {
|
||||
data.settings.refreshRate = "60";
|
||||
}
|
||||
|
||||
if (data.version < 25) {
|
||||
data.settings.pickMinerOnPatch = true;
|
||||
data.version = 25;
|
||||
}
|
||||
|
||||
if (data.version < 25) {
|
||||
data.settings.musicVolume = 0.5;
|
||||
data.settings.soundVolume = 0.5;
|
||||
@ -646,6 +641,11 @@ export class ApplicationSettings extends ReadWriteProxy {
|
||||
data.version = 25;
|
||||
}
|
||||
|
||||
if (data.version < 26) {
|
||||
data.settings.pickMinerOnPatch = true;
|
||||
data.version = 26;
|
||||
}
|
||||
|
||||
return ExplainedResult.good();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user