BAM, changes it to be based on combat mode and intent too.

This commit is contained in:
Zattarra
2023-08-22 17:04:11 -07:00
parent 60bf3ed43b
commit a6b8625933
@@ -1,6 +1,7 @@
/mob/living/handle_micro_bump_other(mob/living/target)
// If the target has the preference off, stop the interaction.
if(target.client.prefs.stomppref == FALSE)
// If the target is not in combat mode, if the target has the preference off, stop the interaction.
if(target.a_intent != INTENT_HARM && SEND_SIGNAL(target, COMSIG_COMBAT_MODE_CHECK, COMBAT_MODE_INACTIVE) && target.client.prefs.stomppref == FALSE)
return FALSE
// Do the rest of the function normally.