Don't preload content maps in tests (#14577)

This commit is contained in:
metalgearsloth
2023-03-11 12:45:48 +11:00
committed by GitHub
parent f69220c424
commit 86895f9735
2 changed files with 6 additions and 0 deletions

View File

@@ -51,6 +51,9 @@ public static class PoolManager
(CCVars.SysWinTickPeriod.Name, "0", true),
(CCVars.ThreadParallelCount.Name, "1", true),
(CCVars.GameRoleTimers.Name, "false", false),
(CCVars.CargoShuttles.Name, "false", false),
(CCVars.EmergencyShuttleEnabled.Name, "false", false),
(CCVars.ProcgenPreload.Name, "false", false),
};
private static int PairId;

View File

@@ -265,6 +265,9 @@ public sealed partial class CargoSystem
private void OnCargoOrderStartup(EntityUid uid, StationCargoOrderDatabaseComponent component, ComponentStartup args)
{
if (!_enabled)
return;
// Stations get created first but if any are added at runtime then do this.
AddShuttle(component);
}