Finally fix cryostorage duping (#24251)

(cherry picked from commit ea299caff9143fe97eeb0873dada4e4fed8df3bd)
This commit is contained in:
Nemanja 2024-01-18 19:27:21 -05:00 committed by Debug
parent de7c8de5ac
commit 79b0c0e3d4
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
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;