From 4e964429c0a0c27b9b72b57dda2f62424bac9daa Mon Sep 17 00:00:00 2001 From: Remie Richards Date: Mon, 21 Dec 2015 02:06:38 +0000 Subject: [PATCH] Speeds up DEVICE_TYPE_LOOP --- code/__DEFINES/atmospherics.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/__DEFINES/atmospherics.dm b/code/__DEFINES/atmospherics.dm index d3d149fb6f18bd..eb53f5740dac8e 100644 --- a/code/__DEFINES/atmospherics.dm +++ b/code/__DEFINES/atmospherics.dm @@ -129,7 +129,7 @@ #define QUATERNARY 4 // this is the standard for loop used by all sorts of atmos machinery procs -#define DEVICE_TYPE_LOOP var/I = 1; I <= device_type; I++ +#define DEVICE_TYPE_LOOP var/I in 1 to device_type // defines for the various machinery lists // NODE_I, AIR_I, PARENT_I are used within DEVICE_TYPE_LOOP @@ -151,4 +151,4 @@ #define PARENT1 parents[1] #define PARENT2 parents[2] #define PARENT3 parents[3] -#define PARENT_I parents[I] \ No newline at end of file +#define PARENT_I parents[I]