mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Simple Mob Pointblank Fix (#9861)
This commit is contained in:
@@ -449,7 +449,7 @@ mob/living/simple_animal/bullet_act(var/obj/item/projectile/Proj)
|
||||
|
||||
//TODO: refactor mob attackby(), attacked_by(), and friends.
|
||||
/mob/living/simple_animal/proc/attacked_with_item(obj/item/O, mob/user)
|
||||
if(istype(O, /obj/item/trap/animal))
|
||||
if(istype(O, /obj/item/trap/animal) || istype(O, /obj/item/gun))
|
||||
O.attack(src, user)
|
||||
return
|
||||
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
|
||||
|
||||
Reference in New Issue
Block a user