mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
Fixes ody sleeper patient loc bugs (#64834)
This commit is contained in:
@@ -236,6 +236,12 @@
|
||||
var/mob/living/carbon/M = patient
|
||||
if(!M)
|
||||
return
|
||||
if(M.loc != src)
|
||||
to_chat(chassis.occupants, "[icon2html(src, chassis.occupants)][span_notice("[patient] no longer detected. Life support functions diabled.")]")
|
||||
log_message("[patient] no longer detected - Life support functions disabled.", LOG_MECHA)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
patient = null
|
||||
update_equip_info()
|
||||
if(M.health > 0)
|
||||
M.adjustOxyLoss(-0.5 * delta_time)
|
||||
M.AdjustStun(-40 * delta_time)
|
||||
|
||||
Reference in New Issue
Block a user