stuff
This commit is contained in:
@@ -7,6 +7,7 @@ using Content.Server._White.GhostRecruitment;
|
|||||||
using Content.Server.GameTicking.Components;
|
using Content.Server.GameTicking.Components;
|
||||||
using Content.Shared.Administration.Logs;
|
using Content.Shared.Administration.Logs;
|
||||||
using Content.Shared.Database;
|
using Content.Shared.Database;
|
||||||
|
using Content.Shared._White;
|
||||||
using Content.Shared._White.GhostRecruitment;
|
using Content.Shared._White.GhostRecruitment;
|
||||||
using JetBrains.Annotations;
|
using JetBrains.Annotations;
|
||||||
using Robust.Server.GameObjects;
|
using Robust.Server.GameObjects;
|
||||||
@@ -147,7 +148,8 @@ public sealed class ERTRecruitmentRule : StationEventSystem<ERTRecruitmentRuleCo
|
|||||||
|
|
||||||
private void OnRoundStart(RoundStartingEvent ev)
|
private void OnRoundStart(RoundStartingEvent ev)
|
||||||
{
|
{
|
||||||
//if (_cfgManager.GetCVar(WhiteCVars.LoadErtMap))
|
// Disabled in dev - Resources/ConfigPresets/Build/development.toml
|
||||||
|
if (_cfgManager.GetCVar(WhiteCVars.LoadErtMap))
|
||||||
SpawnMap();
|
SpawnMap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ public sealed class WhiteCVars
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Should load a ERT map?
|
/// Should load a ERT map?
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static readonly CVarDef<bool> LoadErtMap = CVarDef.Create("white.ert_load", false, CVar.SERVERONLY);
|
public static readonly CVarDef<bool> LoadErtMap = CVarDef.Create("white.ert_load", true, CVar.SERVERONLY);
|
||||||
|
|
||||||
public static readonly CVarDef<bool> LogChatActions =
|
public static readonly CVarDef<bool> LogChatActions =
|
||||||
CVarDef.Create("white.log_to_chat", true, CVar.CLIENT | CVar.ARCHIVE | CVar.REPLICATED);
|
CVarDef.Create("white.log_to_chat", true, CVar.CLIENT | CVar.ARCHIVE | CVar.REPLICATED);
|
||||||
|
|||||||
Reference in New Issue
Block a user