From 86a4274a3f5339d89e9435cf622c827bb47f7b1e Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Tue, 17 Jun 2014 04:19:41 -0400 Subject: [PATCH] add_logs runtime fix --- code/datums/wires/airlock.dm | 2 +- code/game/machinery/bots/bots.dm | 2 +- code/modules/mob/living/simple_animal/constructs.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/datums/wires/airlock.dm b/code/datums/wires/airlock.dm index c46005c59ea..f53c822a027 100644 --- a/code/datums/wires/airlock.dm +++ b/code/datums/wires/airlock.dm @@ -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) diff --git a/code/game/machinery/bots/bots.dm b/code/game/machinery/bots/bots.dm index d281fb57308..7be2eaebd95 100644 --- a/code/game/machinery/bots/bots.dm +++ b/code/game/machinery/bots/bots.dm @@ -64,7 +64,7 @@ if(M.melee_damage_upper == 0) return src.health -= M.melee_damage_upper src.visible_message("\red [M] has [M.attacktext] [src]!") - add_logs(M, src, "attacked", admin=0) + add_logs(M, src, "attacked") if(prob(10)) new /obj/effect/decal/cleanable/oil(src.loc) healthcheck() diff --git a/code/modules/mob/living/simple_animal/constructs.dm b/code/modules/mob/living/simple_animal/constructs.dm index 13f320472ba..5df407e599e 100644 --- a/code/modules/mob/living/simple_animal/constructs.dm +++ b/code/modules/mob/living/simple_animal/constructs.dm @@ -105,7 +105,7 @@ playsound(loc, M.attack_sound, 50, 1, 1) for(var/mob/O in viewers(src, null)) O.show_message("\The [M] [M.attacktext] \the [src]!", 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)