mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 22:12:58 +01:00
Ported the TG's error handler (#19782)
Ported the TG's error handler system, which allows runtime errors to be collected in a datum, browsed, and all the good stuffs
This commit is contained in:
@@ -1561,6 +1561,17 @@
|
||||
access_control_topic(href_list["access_control"])
|
||||
return
|
||||
|
||||
else if(href_list["viewruntime"])
|
||||
var/datum/error_viewer/error_viewer = locate(href_list["viewruntime"])
|
||||
if(!istype(error_viewer))
|
||||
to_chat(usr, SPAN_WARNING("That runtime viewer no longer exists."), confidential = TRUE)
|
||||
return
|
||||
|
||||
if(href_list["viewruntime_backto"])
|
||||
error_viewer.show_to(owner, locate(href_list["viewruntime_backto"]), href_list["viewruntime_linear"])
|
||||
else
|
||||
error_viewer.show_to(owner, null, href_list["viewruntime_linear"])
|
||||
|
||||
/mob/living/proc/can_centcom_reply()
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user