mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-21 12:17:40 +01:00
[MIRROR] fix admin spawn or error (#10552)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
1f4c3d9c71
commit
d0636cd608
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user