Fixed IsRunningInsideWorkshop check being inverted

This commit is contained in:
EvilFactory
2024-10-29 18:18:19 -03:00
parent d906066425
commit 6ab0e7bee4

View File

@@ -71,7 +71,7 @@ namespace Barotrauma
get
{
#if SERVER
return Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) == Directory.GetCurrentDirectory();
return Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) != Directory.GetCurrentDirectory();
#else
return false; // unnecessary but just keeps things clear that this is NOT for client stuff
#endif