Command Cryo (#10994)

This commit is contained in:
Geeves
2021-01-17 19:37:51 +01:00
committed by GitHub
parent fc1b34468f
commit 1d52dfec1e
6 changed files with 33 additions and 7 deletions
+8 -1
View File
@@ -660,7 +660,14 @@
if(spawnpos && istype(spawnpos))
if(spawnpos.check_job_spawning(rank))
H.forceMove(pick(spawnpos.turfs))
if(istype(spawnpos, /datum/spawnpoint/cryo) && (rank in command_positions))
var/datum/spawnpoint/cryo/C = spawnpos
if(length(C.command_turfs))
H.forceMove(pick(C.command_turfs))
else
H.forceMove(pick(spawnpos.turfs))
else
H.forceMove(pick(spawnpos.turfs))
. = spawnpos.msg
spawnpos.after_join(H)
else