From 47710d7f24f07e0991eef40b6bd003e6348fdd15 Mon Sep 17 00:00:00 2001 From: "petethegoat@gmail.com" Date: Thu, 12 Jul 2012 18:11:18 +0000 Subject: [PATCH] Fixed a logging issue with stunbatons. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4052 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/items/weapons/stunbaton.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/objects/items/weapons/stunbaton.dm b/code/game/objects/items/weapons/stunbaton.dm index b41b9d4e742..0f58a405595 100644 --- a/code/game/objects/items/weapons/stunbaton.dm +++ b/code/game/objects/items/weapons/stunbaton.dm @@ -74,6 +74,9 @@ else charges-- H.visible_message("[M] has been stunned with the [src] by [user]!") + user.attack_log += "\[[time_stamp()]\] Stunned [H.name] ([H.ckey]) with [src.name]" + H.attack_log += "\[[time_stamp()]\] Stunned by [user.name] ([user.ckey]) with [src.name]" + log_attack("[user.name] ([user.ckey]) stunned [H.name] ([H.ckey]) with [src.name]" ) playsound(src.loc, 'Egloves.ogg', 50, 1, -1) if(charges < 1) status = 0