add_logs runtime fix

This commit is contained in:
ZomgPonies
2014-06-17 04:19:41 -04:00
parent 4d5861ca30
commit 86a4274a3f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ var/const/AIRLOCK_WIRE_LIGHT = 2048
//one wire for electrifying the door. Sending a pulse through this electrifies the door for 30 seconds.
if(A.secondsElectrified==0)
A.shockedby += text("\[[time_stamp()]\][usr](ckey:[usr.ckey])")
add_logs(usr, A, "electrified", admin=0, addition="at [A.x],[A.y],[A.z]")
add_logs(usr, A, "electrified", null, addition="at [A.x],[A.y],[A.z]")
A.secondsElectrified = 30
spawn(10)
if(A)
+1 -1
View File
@@ -64,7 +64,7 @@
if(M.melee_damage_upper == 0) return
src.health -= M.melee_damage_upper
src.visible_message("\red <B>[M] has [M.attacktext] [src]!</B>")
add_logs(M, src, "attacked", admin=0)
add_logs(M, src, "attacked")
if(prob(10))
new /obj/effect/decal/cleanable/oil(src.loc)
healthcheck()
@@ -105,7 +105,7 @@
playsound(loc, M.attack_sound, 50, 1, 1)
for(var/mob/O in viewers(src, null))
O.show_message("<span class='attack'>\The <EM>[M]</EM> [M.attacktext] \the <EM>[src]</EM>!</span>", 1)
add_logs(M, src, "attacked", admin=0)
add_logs(M, src, "attacked")
var/damage = rand(M.melee_damage_lower, M.melee_damage_upper)
adjustBruteLoss(damage)