mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 07:08:55 +01: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:
co-authored by
Heroman3003
CHOMPStation2
parent
45cc3be601
commit
148ae01b59
@@ -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