mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
restores a deleted attack_hand
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user