mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
fixes stack memleaks (#18395)
* fixes stack memleaks * . * more * . * . * urg * urg * . * . * . * . * . * . * . * . * . * . * cklear laws * Update vending.dm --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
d638564b3b
commit
84abdbaede
@@ -267,6 +267,7 @@
|
||||
var/list/belly_surrounding = list() // A list of living mobs surrounded by this belly, including inside containers, food, on mobs, etc. Exclusing inside other bellies.
|
||||
var/bellytemperature = T20C // Temperature applied to humans in the belly.
|
||||
var/temperature_damage = FALSE // Does temperature damage prey?
|
||||
flags = NOREACT // We dont want bellies to start bubling nonstop due to people mixing when transfering and making different reagents
|
||||
|
||||
//For serialization, keep this updated, required for bellies to save correctly.
|
||||
/obj/belly/vars_to_save()
|
||||
@@ -487,7 +488,7 @@
|
||||
//If not, we're probably just in a prefs list or something.
|
||||
if(ismob(loc))
|
||||
owner = loc
|
||||
owner.vore_organs |= src
|
||||
owner.vore_organs += src
|
||||
if(isliving(loc))
|
||||
if(mode_flags & DM_FLAG_TURBOMODE)
|
||||
START_PROCESSING(SSobj, src)
|
||||
@@ -495,7 +496,6 @@
|
||||
START_PROCESSING(SSbellies, src)
|
||||
|
||||
create_reagents(300) // So we can have some liquids in bellies
|
||||
flags |= NOREACT // We dont want bellies to start bubling nonstop due to people mixing when transfering and making different reagents
|
||||
|
||||
/obj/belly/Destroy()
|
||||
if(mode_flags & DM_FLAG_TURBOMODE)
|
||||
|
||||
Reference in New Issue
Block a user