From 274de0ecc1f2f5a980543f129cdd0b76f1d2e8ec Mon Sep 17 00:00:00 2001
From: silicons <2003111+silicons@users.noreply.github.com>
Date: Wed, 27 Apr 2022 23:12:44 -0700
Subject: [PATCH] t
---
code/game/world.dm | 4 ++--
code/modules/error_handler/error_viewer.dm | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/code/game/world.dm b/code/game/world.dm
index 205099c6973..1fede78caba 100644
--- a/code/game/world.dm
+++ b/code/game/world.dm
@@ -232,8 +232,8 @@ GLOBAL_REAL_VAR(world_log_redirected) = FALSE
set waitfor = FALSE
var/list/fail_reasons
if(GLOB)
- if(GLOB.total_runtimes != 0)
- fail_reasons = list("Total runtimes: [GLOB.total_runtimes]")
+ if(global.total_runtimes != 0)
+ fail_reasons = list("Total runtimes: [global.total_runtimes] - if you don't see any runtimes above, launch locally with `dreamseeker -trusted -verbose vorestation.dmb` after compile and check Options and Messages. Inform a maintainer too, if this happens..")
#ifdef UNIT_TESTS
if(GLOB.failed_any_test)
LAZYADD(fail_reasons, "Unit Tests failed!")
diff --git a/code/modules/error_handler/error_viewer.dm b/code/modules/error_handler/error_viewer.dm
index 831784c1456..18d8144a286 100644
--- a/code/modules/error_handler/error_viewer.dm
+++ b/code/modules/error_handler/error_viewer.dm
@@ -80,7 +80,7 @@ GLOBAL_DATUM(error_cache, /datum/error_viewer/error_cache)
/datum/error_viewer/error_cache/show_to(user, datum/error_viewer/back_to, linear)
var/html = build_header()
- html += "[GLOB.total_runtimes] runtimes, [GLOB.total_runtimes_skipped] skipped
"
+ html += "[global.total_runtimes] runtimes, [global.total_runtimes_skipped] skipped
"
if (!linear)
html += "organized | [make_link("linear", null, 1)]