Fixed a NRE in RunConfig

This commit is contained in:
EvilFactory
2023-10-20 10:59:48 -03:00
parent 39005ca32c
commit 92e1469e8b
@@ -91,18 +91,18 @@ public sealed class RunConfig
public bool IsForced() public bool IsForced()
{ {
#if CLIENT #if CLIENT
return this.Client.Equals("Forced"); return this.Client == "Forced";
#elif SERVER #elif SERVER
return this.Server.Equals("Forced"); return this.Server == "Forced";
#endif #endif
} }
public bool IsStandard() public bool IsStandard()
{ {
#if CLIENT #if CLIENT
return this.Client.Equals("Standard"); return this.Client == "Standard";
#elif SERVER #elif SERVER
return this.Server.Equals("Standard"); return this.Server == "Standard";
#endif #endif
} }