mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Fixes some broken logic with the mechasleeper process (#19988)
This commit is contained in:
@@ -213,6 +213,9 @@
|
||||
/obj/item/mecha_parts/mecha_equipment/medical/sleeper/process()
|
||||
if(..())
|
||||
return
|
||||
if(!chassis)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
return
|
||||
if(!chassis.has_charge(energy_drain))
|
||||
set_ready_state(1)
|
||||
log_message("Deactivated.")
|
||||
|
||||
Reference in New Issue
Block a user