Fixed a NRE in RunConfig
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user