mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Refactor smart underground belt logic
This commit is contained in:
@@ -468,7 +468,7 @@ export class ApplicationSettings extends ReadWriteProxy {
|
||||
}
|
||||
|
||||
getCurrentVersion() {
|
||||
return 15;
|
||||
return 16;
|
||||
}
|
||||
|
||||
/** @param {{settings: SettingsStorage, version: number}} data */
|
||||
@@ -530,6 +530,12 @@ export class ApplicationSettings extends ReadWriteProxy {
|
||||
data.version = 15;
|
||||
}
|
||||
|
||||
if (data.version < 16) {
|
||||
// RE-ENABLE this setting, it already existed
|
||||
data.settings.enableTunnelSmartplace = true;
|
||||
data.version = 16;
|
||||
}
|
||||
|
||||
return ExplainedResult.good();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user