Fixed an issue affecting parsing the required runstate to edit a setting.

This commit is contained in:
MapleWheels
2026-02-06 14:36:33 -05:00
committed by Maplewheels
parent 771e73a798
commit fa340e91de
2 changed files with 4 additions and 4 deletions
@@ -92,9 +92,9 @@ public sealed class SettingsFileParserService :
OwnerPackage = res.path.ContentPackage,
DataType = element.GetAttributeString("Type", string.Empty),
Element = element,
EditableStates = element.GetAttributeBool("AllowChangesWhileExecuting", true) ? RunState.Running :
element.GetAttributeBool("ReadOnly", false) ? RunState.LoadedNoExec :
RunState.Unloaded,
EditableStates = element.GetAttributeBool("ReadOnly", false) ? RunState.Unloaded :
element.GetAttributeBool("AllowChangesWhileExecuting", true) ? RunState.Running :
RunState.LoadedNoExec,
NetSync = element.GetAttributeEnum("NetSync", NetSync.None),
#if CLIENT
DisplayName = $"{packageIdent}.{name}.DisplayName",