mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Upstream - Organ insert/remove fixes
Temp fixes another race condition inside NIF code
This commit is contained in:
@@ -165,11 +165,14 @@
|
||||
|
||||
if(linked_mob)
|
||||
UnregisterSignal(linked_mob, COMSIG_LIVING_DEATH, PROC_REF(damage_on_death))
|
||||
linked_mob = null
|
||||
|
||||
QDEL_LIST(loaded_nifsofts)
|
||||
|
||||
///Installs preinstalled NIFSofts
|
||||
/obj/item/organ/cyberimp/brain/nif/proc/install_preinstalled_nifsofts()
|
||||
if(isnull(linked_mob)) // BUBBER TODO: Fix the race condition here
|
||||
return FALSE
|
||||
if(!preinstalled_nifsofts)
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user