From 3ba2db8bcbd0e9f6532d8c7200ea5888edfb651b Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Mon, 29 May 2017 11:04:13 -0500 Subject: [PATCH] Fixes SSmachines using colons --- code/controllers/subsystem/machines.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/controllers/subsystem/machines.dm b/code/controllers/subsystem/machines.dm index ab941eb1c6..0c99eb7ea4 100644 --- a/code/controllers/subsystem/machines.dm +++ b/code/controllers/subsystem/machines.dm @@ -37,11 +37,11 @@ SUBSYSTEM_DEF(machines) var/seconds = wait * 0.1 while(currentrun.len) - var/datum/thing = currentrun[currentrun.len] + var/obj/machinery/thing = currentrun[currentrun.len] currentrun.len-- if(thing && thing.process(seconds) != PROCESS_KILL) - if(thing:use_power) - thing:auto_use_power() //add back the power state + if(thing.use_power) + thing.auto_use_power() //add back the power state else processing -= thing if (thing)