This commit is contained in:
silicons
2020-06-26 23:47:16 -07:00
parent 0df5aa083b
commit 1d4a54d880
4 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -624,7 +624,8 @@
var/late = timelimit && (tplus > timelimit)
var/policy = late? policies[POLICYCONFIG_ON_DEFIB_LATE] : policies[POLICYCONFIG_ON_DEFIB_INTACT]
if(policy)
to_chat(occupant, policy)
to_chat(H, policy)
H.log_message("revived using a defibrillator, [tplus] deciseconds from time of death, considered [late? "late" : "memory-intact"] revival under configured policy limits.", LOG_GAME)
if(req_defib)
defib.deductcharge(revivecost)
cooldown = 1