From 93898942f335acb2859e48e9beee477ab33fdde7 Mon Sep 17 00:00:00 2001 From: PsiOmega Date: Thu, 31 Jul 2014 14:24:39 +0200 Subject: [PATCH] Is a little convoluted but this removes the last X: use in supermatter.dm --- code/modules/supermatter/supermatter.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/supermatter/supermatter.dm b/code/modules/supermatter/supermatter.dm index 8ddd24d1560..28b9814b435 100644 --- a/code/modules/supermatter/supermatter.dm +++ b/code/modules/supermatter/supermatter.dm @@ -331,7 +331,11 @@ if(is_type_in_list(X, uneatable)) continue if(((X) && (!istype(X,/mob/living/carbon/human)))) step_towards(X,src) - if(!X:anchored) //unanchored objects pulled twice as fast + if(istype(X, /obj)) //unanchored objects pulled twice as fast + var/obj/O = X + if(!O.anchored) + step_towards(X,src) + else step_towards(X,src) if(istype(X, /obj/structure/window)) //shatter windows var/obj/structure/window/W = X