- SettingsMenu work.

- Fixed NRE on NetSync in SettingEntry<T>
This commit is contained in:
MapleWheels
2026-02-27 17:25:25 -05:00
parent ebf2935fb4
commit 9b61cda6cf
4 changed files with 38 additions and 118 deletions
@@ -150,7 +150,7 @@ public class SettingEntry<T> : SettingBase, ISettingBase<T>, INetworkSyncVar whe
NetworkingService.RegisterNetVar(this);
}
public NetSync SyncType => ConfigInfo.NetSync;
public NetSync SyncType => ConfigInfo?.NetSync ?? NetSync.None;
// needs to be added IConfigInfo
public ClientPermissions WritePermissions => ClientPermissions.ManageSettings;