mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 15:18:09 +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.")
|
||||
|
||||
@@ -1213,7 +1213,7 @@
|
||||
else
|
||||
log_debug("[src] (\ref[src]) doesn't have an owner, and dropped someone at a latespawn point!")
|
||||
var/fallback = pick(latejoin)
|
||||
return get_turf(fallback)
|
||||
return fallback
|
||||
|
||||
//Yes, it's ""safe"" to drop items here
|
||||
/obj/belly/AllowDrop()
|
||||
|
||||
Reference in New Issue
Block a user