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

@@ -900,6 +900,11 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<float> ShuttleIdleAngularDamping =
CVarDef.Create("shuttle.idle_angular_damping", 100f, CVar.SERVERONLY);
/// <summary>
/// Whether cargo shuttles are enabled.
/// </summary>
public static readonly CVarDef<bool> CargoShuttles =
CVarDef.Create("shuttle.cargo", true, CVar.SERVERONLY);
/*
* Emergency