From b526dbce318cf28d567833e458f44ab8fb0b1a7a Mon Sep 17 00:00:00 2001
From: Migratingcocofruit
<69551563+Migratingcocofruit@users.noreply.github.com>
Date: Tue, 21 Oct 2025 22:08:41 +0300
Subject: [PATCH] Fixes devs being unable to see the "view bug reports" verb
and a runtime in the rejection message (#30736)
* Adds the bug report verb to the view_runtimes verb list
* fix rejection messagea
---
code/datums/bug_report.dm | 2 +-
code/modules/admin/admin_verbs.dm | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/code/datums/bug_report.dm b/code/datums/bug_report.dm
index c918d70cbdf..f2f7aa49549 100644
--- a/code/datums/bug_report.dm
+++ b/code/datums/bug_report.dm
@@ -217,6 +217,6 @@ GLOBAL_LIST_EMPTY(bug_report_time)
message_admins("[user.ckey] has rejected a bug report from [initial_key] titled [bug_report_data["title"]] at [time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss")].")
var/client/initial_user = locateUID(initial_user_uid)
if(initial_user)
- to_chat(initial_user_uid, "A staff member has rejected your bug report, this can happen for several reasons. They will most likely get back to you shortly regarding your issue.")
+ to_chat(initial_user, "A staff member has rejected your bug report, this can happen for several reasons. They will most likely get back to you shortly regarding your issue.")
#undef STATUS_SUCCESS
diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm
index 59dc07d37bb..c70ee114b9f 100644
--- a/code/modules/admin/admin_verbs.dm
+++ b/code/modules/admin/admin_verbs.dm
@@ -269,7 +269,8 @@ GLOBAL_LIST_INIT(view_runtimes_verbs, list(
/client/proc/raw_gas_scan,
/client/proc/teleport_interesting_turf,
/client/proc/visualize_interesting_turfs,
- /client/proc/profile_code
+ /client/proc/profile_code,
+ /client/proc/view_bug_reports,
))
GLOBAL_LIST_INIT(view_logs_verbs, list(
/client/proc/getserverlogs,