Changed spawn priority to arrivals -> containers -> points. (#24476)

This commit is contained in:
Krunklehorn
2024-01-24 19:48:58 -05:00
committed by GitHub
parent 055bc72e06
commit 00c83844ac
3 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
using Content.Server.GameTicking;
using Content.Server.Shuttles.Systems;
using Content.Server.Spawners.Components;
using Content.Server.Station.Systems;
using Robust.Shared.Map;
@@ -15,7 +16,7 @@ public sealed class SpawnPointSystem : EntitySystem
public override void Initialize()
{
SubscribeLocalEvent<PlayerSpawningEvent>(OnSpawnPlayer);
SubscribeLocalEvent<PlayerSpawningEvent>(OnSpawnPlayer, after: new[] { typeof(ContainerSpawnPointSystem), typeof(ArrivalsSystem) });
}
private void OnSpawnPlayer(PlayerSpawningEvent args)