Garbage collection fixes

This commit is contained in:
ZomgPonies
2014-02-19 20:24:31 -05:00
parent d26777a0d9
commit 1ab8df4b13
141 changed files with 2310 additions and 2278 deletions
@@ -23,7 +23,7 @@
spawn(rand(1200,2400))
spawned_animal.loc = locate(src.x + rand(-12,12), src.y + rand(-12,12), src.z)
/obj/effect/landmark/animal_spawner/Del()
/obj/effect/landmark/animal_spawner/Destroy()
processing_objects.Remove(src)
/obj/effect/landmark/animal_spawner/panther
@@ -27,7 +27,7 @@
T.y += rand(-6,6)
tribesmen += T
/obj/effect/jungle_tribe_spawn/Del()
/obj/effect/jungle_tribe_spawn/Destroy()
processing_objects.Remove(src)
/obj/effect/jungle_tribe_spawn/process()
@@ -428,7 +428,7 @@ Deuterium-tritium fusion: 4.5 x 10^7 K
AddParticles(reactant, reactants_reacting_pool[reactant])
//world << "retained: [reactant], [reactants_reacting_pool[reactant]]"
/obj/effect/rust_em_field/Del()
/obj/effect/rust_em_field/Destroy()
//radiate everything in one giant burst
for(var/obj/effect/rust_particle_catcher/catcher in particle_catchers)
del (catcher)
@@ -120,7 +120,7 @@
return
return
/obj/beam/e_beam/Del()
/obj/beam/e_beam/Destroy()
if(next)
del(next)
..()
+1 -1
View File
@@ -122,7 +122,7 @@
else
stat &= ~NOPOWER
Del()
Destroy()
if(istype(loc,/obj/item/device/laptop))
var/obj/O = loc
spawn(5)