mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Lets sleevemates scan patients in dogborg sleepers (#9065)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
@@ -90,6 +90,13 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
|
||||
return
|
||||
M = new_M
|
||||
|
||||
if(isrobot(M))
|
||||
var/mob/living/silicon/robot/R = M
|
||||
var/obj/item/device/dogborg/sleeper/S = locate() in R.module.modules
|
||||
if(S && S.patient)
|
||||
scan_mob(S.patient, user)
|
||||
return
|
||||
|
||||
if(ishuman(M))
|
||||
scan_mob(M, user)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user