mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[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:
co-authored by
Seth Scherer
parent
c12cf0e705
commit
c902e44320
@@ -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>", \
|
||||
|
||||
Reference in New Issue
Block a user