Unanchored objects and players without magboots are pulled twice as fast towards the supermatter.

This commit is contained in:
RavingManiac
2014-05-30 21:17:40 +08:00
parent 12aa2ebe6c
commit bf0c972677
+4
View File
@@ -314,6 +314,8 @@
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
step_towards(X,src)
if(istype(X, /obj/structure/window)) //shatter windows
X.ex_act(2.0)
else if(istype(X,/mob/living/carbon/human))
@@ -321,7 +323,9 @@
if(istype(H.shoes,/obj/item/clothing/shoes/magboots))
var/obj/item/clothing/shoes/magboots/M = H.shoes
if(M.magpulse)
step_towards(H,src) //step just once with magboots
continue
step_towards(H,src) //step twice
step_towards(H,src)
if(defer_powernet_rebuild != 2)