mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13.git
synced 2026-08-30 21:17:19 +01:00
Attempts to improve the performance of /mob/Stat() by using defines instead of procs for grabbing the current time
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
if(specialfunctions & SHOCK)
|
||||
if(D.secondsElectrified)
|
||||
D.secondsElectrified = -1
|
||||
LAZYADD(D.shockedby, "\[[time_stamp()]\] [key_name(usr)]")
|
||||
LAZYADD(D.shockedby, "\[[TIME_STAMP("hh:mm:ss", FALSE)]\] [key_name(usr)]")
|
||||
log_combat(usr, D, "electrified")
|
||||
else
|
||||
D.secondsElectrified = 0
|
||||
|
||||
Reference in New Issue
Block a user