Changed spawn priority to arrivals -> containers -> points. (#24476)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user