fix admin spawn or error (#17446)

* fix late spawn or error

* .

* fix that
This commit is contained in:
Kashargul
2025-03-29 23:32:22 +01:00
committed by GitHub
parent 4f96497ad5
commit 4ad2c4568d
4 changed files with 14 additions and 9 deletions
+7 -1
View File
@@ -485,7 +485,13 @@ Traitors and the like can also be revived with the previous role mostly intact.
return
if("Arrivals") //Spawn them at a latejoin spawnpoint
spawnloc = pick(latejoin)
if(LAZYLEN(latejoin))
spawnloc = pick(latejoin)
else if(LAZYLEN(latejoin_tram))
spawnloc = pick(latejoin_tram)
else
to_chat(src, "This map has no latejoin spawnpoint.")
return
else //I have no idea how you're here
to_chat(src, "Invalid spawn location choice.")