diff --git a/msu/systems/mod_settings/abstract_setting.nut b/msu/systems/mod_settings/abstract_setting.nut index 2f8e6ec76..1ce4551ce 100644 --- a/msu/systems/mod_settings/abstract_setting.nut +++ b/msu/systems/mod_settings/abstract_setting.nut @@ -173,9 +173,7 @@ function __getSerializationTable() { return { - Value = this.getValue(), - Locked = this.isLocked(), - LockReason = this.getLockReason() + Value = this.getValue() }; } @@ -183,7 +181,6 @@ { this.unlock(); this.set(_table.Value, true, false, true, true); - if (_table.Locked) this.lock(_table.LockReason); } function flagSerialize( _out ) @@ -217,8 +214,6 @@ this.unlock(); this.set(::World.Flags.get(valueFlag), true, false, true, true); } - setPropertyIfFlagExists("Locked", modID); - setPropertyIfFlagExists("LockReason", modID); } else {