From 9fe1f1f90311f08908acf64cf83d69b4a471e3a1 Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Thu, 26 Dec 2024 23:12:03 +0300 Subject: [PATCH] like this --- Content.Server/_CorvaxNext/Ghostbar/GhostBarSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/_CorvaxNext/Ghostbar/GhostBarSystem.cs b/Content.Server/_CorvaxNext/Ghostbar/GhostBarSystem.cs index cc1e218e5c9..12c78eeb3e3 100644 --- a/Content.Server/_CorvaxNext/Ghostbar/GhostBarSystem.cs +++ b/Content.Server/_CorvaxNext/Ghostbar/GhostBarSystem.cs @@ -28,6 +28,8 @@ public sealed class GhostBarSystem : EntitySystem [Dependency] private readonly MindSystem _mindSystem = default!; [Dependency] private readonly IEntityManager _entityManager = default!; + private const string MapPath = "Maps/Nonstations/ghostbar.yml"; + private static readonly List> _jobComponents = ["Passenger", "Bartender", "Chef"]; public override void Initialize() @@ -37,7 +39,6 @@ public override void Initialize() SubscribeLocalEvent(OnPlayerGhosted); } - const string MapPath = "Maps/Nonstations/ghostbar.yml"; private void OnRoundStart(RoundStartingEvent ev) { _mapSystem.CreateMap(out var mapId);