mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user