Fixed IsRunningInsideWorkshop check being inverted
This commit is contained in:
@@ -71,7 +71,7 @@ namespace Barotrauma
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
#if SERVER
|
#if SERVER
|
||||||
return Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) == Directory.GetCurrentDirectory();
|
return Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) != Directory.GetCurrentDirectory();
|
||||||
#else
|
#else
|
||||||
return false; // unnecessary but just keeps things clear that this is NOT for client stuff
|
return false; // unnecessary but just keeps things clear that this is NOT for client stuff
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user