Finally fix cryostorage duping (#24251)

This commit is contained in:
Nemanja 2024-01-18 19:27:21 -05:00 committed by GitHub
parent 0c944ed81e
commit ea299caff9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -315,6 +315,9 @@ public sealed class ArrivalsSystem : EntitySystem
private void OnPlayerSpawn(PlayerSpawningEvent ev)
{
if (ev.SpawnResult != null)
return;
// Only works on latejoin even if enabled.
if (!Enabled || _ticker.RunLevel != GameRunLevel.InRound)
return;