This commit is contained in:
Chris
2015-01-12 21:18:01 -06:00
parent e15c2bc5f2
commit 1a3aaa62db
16 changed files with 66 additions and 51 deletions

View File

@@ -4,7 +4,7 @@
/datum/controller/process/machinery/doWork()
#ifdef PROFILE_MACHINES
machine_profiling.Cut()
machine_profiling.len = 0
#endif
for(var/obj/machinery/M in machines)
@@ -18,7 +18,7 @@
machines.Remove(M)
continue
if(M.use_power)
if(M && M.use_power)
M.auto_use_power()
#ifdef PROFILE_MACHINES