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

@@ -18,7 +18,7 @@ public sealed class ContainerSpawnPointSystem : EntitySystem
public override void Initialize()
{
SubscribeLocalEvent<PlayerSpawningEvent>(OnSpawnPlayer, before: new[] { typeof(SpawnPointSystem), typeof(ArrivalsSystem) });
SubscribeLocalEvent<PlayerSpawningEvent>(OnSpawnPlayer, before: new[] { typeof(SpawnPointSystem) }, after: new[] { typeof(ArrivalsSystem) });
}
private void OnSpawnPlayer(PlayerSpawningEvent args)