Adds admin_spawned atom var that is set when something is spawned by admin means or is var edited.

This can be bypassed by using debug-game if needed.
Stats will not be tracked for admin spawned atoms
This commit is contained in:
Shadowlight213
2016-07-20 15:26:24 -07:00
parent a117772f95
commit ed55cefcc2
12 changed files with 27 additions and 9 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
for(var/varName in newVars)
if(varName in summoned_object.vars)
summoned_object.vars[varName] = newVars[varName]
summoned_object.admin_spawned = TRUE
if(summon_lifespan)
QDEL_IN(summoned_object, summon_lifespan)