mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 11:30:35 +01:00
Allows robot organs to die (#22739)
Fixes robot organs continuing to process after death. Stops this: <img width="790" height="331" alt="image" src="https://github.com/user-attachments/assets/5f8db817-0a8d-4263-90f4-74a18da78d9a" />
This commit is contained in:
@@ -128,6 +128,8 @@ INITIALIZE_IMMEDIATE(/obj/item/organ)
|
||||
|
||||
/obj/item/organ/proc/die()
|
||||
if(status & ORGAN_ROBOT)
|
||||
damage = max_damage
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
return
|
||||
damage = max_damage
|
||||
status |= ORGAN_DEAD
|
||||
|
||||
Reference in New Issue
Block a user