Skip to content

Commit

Permalink
like this
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonsant authored Dec 26, 2024
1 parent 0d17110 commit 9fe1f1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Server/_CorvaxNext/Ghostbar/GhostBarSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ProtoId<JobPrototype>> _jobComponents = ["Passenger", "Bartender", "Chef"];

public override void Initialize()
Expand All @@ -37,7 +39,6 @@ public override void Initialize()
SubscribeLocalEvent<GhostBarPlayerComponent, MindRemovedMessage>(OnPlayerGhosted);
}

const string MapPath = "Maps/Nonstations/ghostbar.yml";
private void OnRoundStart(RoundStartingEvent ev)
{
_mapSystem.CreateMap(out var mapId);
Expand Down

0 comments on commit 9fe1f1f

Please sign in to comment.