Oops, fix NRE crash
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Barotrauma
|
|||||||
internal set
|
internal set
|
||||||
{
|
{
|
||||||
_isCsEnabledForSession?.TrySetValue(value);
|
_isCsEnabledForSession?.TrySetValue(value);
|
||||||
ConfigService.SaveConfigValue(_isCsEnabledForSession);
|
if (_isCsEnabledForSession != null) { ConfigService.SaveConfigValue(_isCsEnabledForSession); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user