From 466ffefbc6a3384889f9dd8f9b51968706f34fee Mon Sep 17 00:00:00 2001 From: Citinited Date: Tue, 6 Mar 2018 20:17:12 +0000 Subject: [PATCH] changes atom/target back to mob/living/human/M --- code/game/objects/items/toys.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 8f50c16ba61..35196d38d20 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -1388,8 +1388,8 @@ obj/item/toy/cards/deck/syndicate/black user.visible_message("[user] spins the cylinder on [src]!") -/obj/item/toy/russian_revolver/attack(atom/target, mob/living/carbon/human/user) - if(target != user) //can't use this on other people +/obj/item/toy/russian_revolver/attack(mob/living/carbon/M, mob/living/carbon/human/user) + if(M != user) //can't use this on other people return if(!bullet_position) to_chat(user, "[src] is empty.") @@ -1398,7 +1398,7 @@ obj/item/toy/cards/deck/syndicate/black to_chat(user, "Playing this game without a head would be classed as cheating.") return user.visible_message("[user] points [src] at their head, ready to pull the trigger!") - if(do_after(user, 30, target = user)) + if(do_after(user, 30, M = user)) if(bullet_position > 1) user.visible_message("*click*") playsound(src, 'sound/weapons/empty.ogg', 100, 1)