- SettingsMenu work.
- Fixed NRE on NetSync in SettingEntry<T>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user