mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Fixes few runtimes. (#24930)
* Fixes regenerate organs runtime on simple animals * Status display initialize * Security records runtime (this code is bad) * Moves record removal to destroy
This commit is contained in:
@@ -704,6 +704,8 @@
|
||||
return 0
|
||||
|
||||
/mob/living/carbon/regenerate_organs()
|
||||
CHECK_DNA_AND_SPECIES(src)
|
||||
|
||||
if(!(NOBREATH in dna.species.species_traits) && !getorganslot("lungs"))
|
||||
var/obj/item/organ/lungs/L = new()
|
||||
L.Insert(src)
|
||||
|
||||
Reference in New Issue
Block a user