Adds missing error handler that made it difficult to debug runtimes.

This commit is contained in:
PsiOmegaDelta
2016-08-19 18:21:56 +02:00
committed by Yoshax
parent a42f0c90af
commit c6105e01a0
8 changed files with 355 additions and 2 deletions

View File

@@ -959,3 +959,13 @@
log_admin("[key_name(src)] has toggled [M.key]'s [blockname] block [state]!")
else
alert("Invalid mob")
/datum/admins/proc/view_runtimes()
set category = "Debug"
set name = "View Runtimes"
set desc = "Open the Runtime Viewer"
if(!check_rights(R_DEBUG))
return
error_cache.showTo(usr)