mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
(Partially) Fixes Out Of Memory crashes (#17043)
* Fixes massive memory leak * Brain Runtime Fix * There was no reason for this to be a spawn(0) And no I didn't spawn with no blood - https://i.imgur.com/vPizqCD.png * Fixes deadringer not properly deathgasping the right entity * Wounds properly get delted off destroyed limbs * Update vorestation.dme * Runtime fix & DNA lock fix * More qdels * qdel * comment out
This commit is contained in:
@@ -278,6 +278,8 @@ SUBSYSTEM_DEF(transcore)
|
||||
// Called from body_record to add itself to the transcore.
|
||||
/datum/transcore_db/proc/add_body(var/datum/transhuman/body_record/BR)
|
||||
ASSERT(BR)
|
||||
if(body_scans[BR.mydna.name])
|
||||
qdel(body_scans[BR.mydna.name])
|
||||
body_scans[BR.mydna.name] = BR
|
||||
body_scans = sortAssoc(body_scans)
|
||||
log_debug("Added [BR.mydna.name] to transcore body DB.")
|
||||
|
||||
Reference in New Issue
Block a user