Be polite! While on walk intent you won't bump, swap places or push other people now. (#68493)

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
This commit is contained in:
GuillaumePrata
2022-07-18 16:51:36 -07:00
committed by GitHub
co-authored by Seth Scherer
parent 10d3839021
commit 4ec77fdbf6
+4
View File
@@ -81,6 +81,10 @@
//Called when we bump onto a mob
/mob/living/proc/MobBump(mob/M)
//No bumping/swapping/pushing others if you are on walk intent
if(m_intent == MOVE_INTENT_WALK)
return TRUE
SEND_SIGNAL(src, COMSIG_LIVING_MOB_BUMP, M)
//Even if we don't push/swap places, we "touched" them, so spread fire
spreadFire(M)