Don't load cargo shuttle by default (#9194)

* Don't load cargo shuttle by default

Realistically only I am going to care and it wastes a few seconds per test / debugging locally.

* Make it a general cvar instead

* a
This commit is contained in:
metalgearsloth
2022-06-27 14:58:40 +10:00
committed by GitHub
parent 2ae4e80732
commit e72e060972
3 changed files with 77 additions and 25 deletions

View File

@@ -27,7 +27,8 @@ public sealed partial class CargoSystem : SharedCargoSystem
public override void Shutdown()
{
base.Shutdown();
Cleanup();
ShutdownShuttle();
CleanupShuttle();
}
private void OnStationInit(StationInitializedEvent ev)