mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] runtime viewer fixes (#11668)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a466bf7b88
commit
fa407a034a
@@ -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"]."
|
||||
|
||||
@@ -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].")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user