This commit is contained in:
B_Kirill
2025-04-26 22:59:02 +10:00
committed by GitHub
parent 3bbe0e7f44
commit 62ce9724fc

View File

@@ -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
}
}
}