Prevents pushing a person that is pulling you (#16451)

* Prevents pushing a person that is pulling you

* Makes it true
This commit is contained in:
Qwertytoforty
2021-07-29 12:54:42 -04:00
committed by GitHub
parent 5577960583
commit 6dde6ed06c
+3
View File
@@ -92,6 +92,9 @@
to_chat(src, "<span class='warning'>[L] is restrained, you cannot push past.</span>")
return TRUE
if(pulledby == L && a_intent != INTENT_HELP) //prevents boosting the person pulling you, but you can still move through them on help intent
return TRUE
if(L.pulling)
if(ismob(L.pulling))
var/mob/P = L.pulling