Removes dels and unused code that contains dels

This commit is contained in:
Krausus
2016-08-02 01:33:19 -04:00
parent f325a364d2
commit dba8af8ab5
21 changed files with 27 additions and 2431 deletions
@@ -105,6 +105,10 @@
last_task = 0
last_object = null
/datum/controller/process/Destroy()
..()
return QDEL_HINT_HARDDEL_NOW
/datum/controller/process/proc/started()
// Initialize run_start so we can detect hung processes.
run_start = TimeOfGame
@@ -180,8 +184,7 @@
// Allow inheritors to clean up if needed
onKill()
// This should del
del(src)
qdel(src)
// Do not call this directly - use SHECK or SCHECK_EVERY
/datum/controller/process/proc/sleepCheck(var/tickId = 0)
@@ -58,6 +58,10 @@ var/global/datum/controller/processScheduler/processScheduler
timeAllowance = world.tick_lag * 0.5
timeAllowanceMax = world.tick_lag
/datum/controller/processScheduler/Destroy()
..()
return QDEL_HINT_HARDDEL_NOW
/**
* deferSetupFor
* @param path processPath
@@ -72,7 +76,7 @@ var/global/datum/controller/processScheduler/processScheduler
/datum/controller/processScheduler/proc/setup()
// There can be only one
if(processScheduler && (processScheduler != src))
del(src)
qdel(src)
return 0
var/process