Fixed a NRE in RunConfig

This commit is contained in:
EvilFactory
2023-10-20 10:59:48 -03:00
parent 39005ca32c
commit 92e1469e8b

View File

@@ -91,18 +91,18 @@ public sealed class RunConfig
public bool IsForced()
{
#if CLIENT
return this.Client.Equals("Forced");
return this.Client == "Forced";
#elif SERVER
return this.Server.Equals("Forced");
return this.Server == "Forced";
#endif
}
public bool IsStandard()
{
#if CLIENT
return this.Client.Equals("Standard");
return this.Client == "Standard";
#elif SERVER
return this.Server.Equals("Standard");
return this.Server == "Standard";
#endif
}