mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user