Scheduler, observation, and New() tweaks.

Corrects a number of places where New() did not call ..(), and implements similar changes to attempt to ensure New()/initialize() complete running before qdel() runs.
Cuts down on the number of created items during server start.
This commit is contained in:
PsiOmegaDelta
2015-12-27 17:44:53 +01:00
parent 1a8fc50f1e
commit a4545f8ded
28 changed files with 107 additions and 88 deletions
+3 -1
View File
@@ -11,9 +11,11 @@
..()
if (!prob(spawn_nothing_percentage))
spawn_item()
/obj/random/initialize()
..()
qdel(src)
// this function should return a specific item to spawn
/obj/random/proc/item_to_spawn()
return 0