Prevents pushing the person wh() is pulling you (#23746)

This commit is contained in:
Rerik007
2024-01-08 16:25:20 +00:00
committed by GitHub
parent 44cde7c753
commit 2c7a9b3078
+1 -1
View File
@@ -101,7 +101,7 @@
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
if(pulledby == L && (a_intent != INTENT_HELP || 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)