mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 20:23:26 +00:00
Is a little convoluted but this removes the last X: use in supermatter.dm
This commit is contained in:
@@ -333,7 +333,11 @@
|
|||||||
if(is_type_in_list(X, uneatable)) continue
|
if(is_type_in_list(X, uneatable)) continue
|
||||||
if(((X) && (!istype(X,/mob/living/carbon/human))))
|
if(((X) && (!istype(X,/mob/living/carbon/human))))
|
||||||
step_towards(X,src)
|
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)
|
step_towards(X,src)
|
||||||
if(istype(X, /obj/structure/window)) //shatter windows
|
if(istype(X, /obj/structure/window)) //shatter windows
|
||||||
var/obj/structure/window/W = X
|
var/obj/structure/window/W = X
|
||||||
|
|||||||
Reference in New Issue
Block a user