Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion msu/systems/mod_settings/abstract_setting.nut
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,12 @@

function __setFromSerializationTable( _table )
{
// A lock put on by mod code describes the current mod set, not the save, so outlive it
local locked = this.isLocked(), lockReason = this.getLockReason();
this.unlock();
this.set(_table.Value, true, false, true, true);
if (_table.Locked) this.lock(_table.LockReason);
if (locked) this.lock(lockReason);
else if (_table.Locked) this.lock(_table.LockReason);
Comment thread
LordMidas marked this conversation as resolved.
}

function getSerDeFlag()
Expand Down