Fixup playerspawn stuff (#31546)
* Fixup playerspawn stuff - Also removed arrivals forcing, this should just turn containerspawnpoint off. * fix this one * test fix * really fix
This commit is contained in:
@@ -15,6 +15,12 @@ public sealed class ContainerSpawnPointSystem : EntitySystem
|
||||
[Dependency] private readonly StationSystem _station = default!;
|
||||
[Dependency] private readonly StationSpawningSystem _stationSpawning = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
SubscribeLocalEvent<PlayerSpawningEvent>(HandlePlayerSpawning, before: new []{ typeof(SpawnPointSystem) });
|
||||
}
|
||||
|
||||
public void HandlePlayerSpawning(PlayerSpawningEvent args)
|
||||
{
|
||||
if (args.SpawnResult != null)
|
||||
|
||||
Reference in New Issue
Block a user