[MIRROR] Medical Adjustments (#10604)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-04-07 16:51:17 -07:00
committed by GitHub
parent 4faf6a1599
commit 8f6c3fee0e
15 changed files with 191 additions and 42 deletions

View File

@@ -151,13 +151,12 @@
return ..()
/obj/machinery/cryopod/robot/door/tram/Bumped(var/atom/movable/AM)
if(!ishuman(AM))
if(!isliving(AM))
return
var/mob/living/carbon/human/user = AM
var/choice = tgui_alert(user, "Do you want to depart via the tram? Your character will leave the round.","Departure",list("Yes","No"))
if(user && Adjacent(user) && choice == "Yes")
var/mob/living/user = AM
var/choice = tgui_alert(user, "Do you want to depart via the tram? Your character will leave the round.","Departure",list("Yes","No"), timeout = 5 SECONDS)
if(!QDELETED(user) && Adjacent(user) && choice == "Yes")
var/mob/observer/dead/newghost = user.ghostize()
newghost.timeofdeath = world.time
despawn_occupant(user)