[MIRROR] Pets no longer enjoy being shoved around. [MDB IGNORE] (#8849)

* Pets no longer enjoy being shoved around. (#62111)

* Pets no longer enjoy being shoved around.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-10-16 15:05:01 -04:00
committed by GitHub
co-authored by Ghom
parent 70c5af7957
commit b8cd5a85a1
+2 -2
View File
@@ -26,10 +26,10 @@
. = ..()
UnregisterSignal(target, COMSIG_ATOM_ATTACK_HAND)
/datum/element/pet_bonus/proc/on_attack_hand(mob/living/pet, mob/living/petter)
/datum/element/pet_bonus/proc/on_attack_hand(mob/living/pet, mob/living/petter, list/modifiers)
SIGNAL_HANDLER
if(pet.stat != CONSCIOUS || petter.combat_mode)
if(pet.stat != CONSCIOUS || petter.combat_mode || LAZYACCESS(modifiers, RIGHT_CLICK))
return
new /obj/effect/temp_visual/heart(pet.loc)