[MIRROR] Fixes the borg hug module being able to harm and shove simple mobs (#4722)

* Fixes the borg hug module being able to harm and shove simple mobs  (#58175)

* Fixes the borg hug module being able to harm and shove simple mobs

Co-authored-by: Seth Scherer <supernovaa41@protonmail.com>
This commit is contained in:
SkyratBot
2021-04-07 14:53:44 +01:00
committed by GitHub
co-authored by Seth Scherer
parent c12cf0e705
commit c902e44320
+2 -1
View File
@@ -72,7 +72,8 @@
if(M.health >= 0)
if(isanimal(M))
var/list/modifiers = params2list(params)
M.attack_hand(user, modifiers) //This enables borgs to get the floating heart icon and mob emote from simple_animal's that have petbonus == true.
if (!user.combat_mode && !LAZYACCESS(modifiers, RIGHT_CLICK))
M.attack_hand(user, modifiers) //This enables borgs to get the floating heart icon and mob emote from simple_animal's that have petbonus == true.
return
if(user.zone_selected == BODY_ZONE_HEAD)
user.visible_message("<span class='notice'>[user] playfully boops [M] on the head!</span>", \