[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"]."