mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Clean up (#5890)
This commit is contained in:
@@ -9,15 +9,13 @@ namespace Robust.Shared
|
||||
public static void Setup(IConfigurationManager cfg)
|
||||
{
|
||||
// Disabled on non-release since I don't want this to start creating files in Steam's bin directory.
|
||||
#if RELEASE
|
||||
return;
|
||||
#endif
|
||||
|
||||
#if !RELEASE
|
||||
if (!cfg.GetCVar(CVars.SysProfileOpt))
|
||||
return;
|
||||
|
||||
ProfileOptimization.SetProfileRoot(PathHelpers.GetExecutableDirectory());
|
||||
ProfileOptimization.StartProfile("profile_opt");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user