Use string for arrivals map cvar (#15104)
This commit is contained in:
@@ -321,7 +321,7 @@ public sealed class ArrivalsSystem : EntitySystem
|
|||||||
{
|
{
|
||||||
var mapId = _mapManager.CreateMap();
|
var mapId = _mapManager.CreateMap();
|
||||||
|
|
||||||
if (!_loader.TryLoad(mapId, _cfgManager.GetCVar(CCVars.ArrivalsMap).ToString(), out var uids))
|
if (!_loader.TryLoad(mapId, _cfgManager.GetCVar(CCVars.ArrivalsMap), out var uids))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1064,8 +1064,8 @@ namespace Content.Shared.CCVar
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The map to use for the arrivals station.
|
/// The map to use for the arrivals station.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static readonly CVarDef<ResourcePath> ArrivalsMap =
|
public static readonly CVarDef<string> ArrivalsMap =
|
||||||
CVarDef.Create("shuttle.arrivals_map", new ResourcePath("/Maps/Misc/terminal.yml"), CVar.SERVERONLY);
|
CVarDef.Create("shuttle.arrivals_map", "/Maps/Misc/terminal.yml", CVar.SERVERONLY);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Cooldown between arrivals departures. This should be longer than the FTL time or it will double cycle.
|
/// Cooldown between arrivals departures. This should be longer than the FTL time or it will double cycle.
|
||||||
|
|||||||
Reference in New Issue
Block a user