[MIRROR] runtime viewer fixes (#11668)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-17 05:36:34 -07:00
committed by GitHub
parent a466bf7b88
commit fa407a034a
8 changed files with 20 additions and 9 deletions

View File

@@ -773,7 +773,7 @@ About the new airlock wires panel:
else if(duration) //electrify door for the given duration seconds
if(usr)
shockedby += text("\[[time_stamp()]\] - [usr](ckey:[usr.ckey])")
add_attack_logs(usr,name,"Electrified a door")
add_attack_logs(usr,src,"Electrified a door")
else
shockedby += text("\[[time_stamp()]\] - EMP)")
message = "The door is now electrified [duration == -1 ? "permanently" : "for [duration] second\s"]."

View File

@@ -165,7 +165,7 @@
if(prob(effectchance * diode.rating))
C.emp_act(4 - diode.rating)
outmsg = span_notice("You shine the [src] into the lens of [C].")
add_attack_logs(user,C.name,"Tried disabling using [src]")
add_attack_logs(user,C,"Tried disabling using [src]")
else
outmsg = span_info("You missed the lens of [C] with [src].")