From ce9df7556a4974b338b9afc26b655d5e6f3ab5fa Mon Sep 17 00:00:00 2001 From: MrMelbert Date: Tue, 23 Jun 2020 20:27:05 -0500 Subject: [PATCH] restores a deleted attack_hand --- code/game/objects/items/toys.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 537bfe2cb80..fff5c8a50d1 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -593,6 +593,13 @@ else . = ..() +/obj/item/toy/prize/attack_hand(mob/user) + . = ..() + if(.) + return + if(loc == user) + attack_self(user) + /obj/item/toy/prize/attackby(obj/item/I, mob/living/user) //I is user's toy if(istype(I, /obj/item/toy/prize)) //if you attack a mech with a mech, initiate combat between them var/obj/item/toy/prize/P = I