mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-28 07:07:08 +01:00
BAM, changes it to be based on combat mode and intent too.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user