mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user