makes pulling stop if the thing clicked can't be pulled

This is better then making it a toggle, as people spam click or may think that the pull didn't go thru clicking again, and this causes the pull to stop.
This commit is contained in:
Kyle Spier-Swenson
2016-01-12 15:22:47 -08:00
parent 643ce940be
commit 89c5b288b3
+3 -3
View File
@@ -162,10 +162,10 @@ Sorry Giacom. Please don't be mad :(
set name = "Pull"
set category = "Object"
if(pulling == AM)
if(AM.Adjacent(src))
start_pulling(AM)
else
stop_pulling()
else if(AM.Adjacent(src))
src.start_pulling(AM)
//same as above
/mob/living/pointed(atom/A as mob|obj|turf in view())