From ecb2a4e1f2ee6b4a38494fc53ea77b52fe2c8419 Mon Sep 17 00:00:00 2001 From: Timberpoes Date: Wed, 17 Feb 2021 02:17:31 +0000 Subject: [PATCH] Fixes admin rights message when player attempts to open playtime panel (#56951) I'm using check_rights for the boolean value for tgui, not to prevent some admin proc being called. Added the argument to stop the insufficient rights message being shown. --- code/modules/jobs/job_report.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/jobs/job_report.dm b/code/modules/jobs/job_report.dm index 102d4d5f666..3dcf1f29453 100644 --- a/code/modules/jobs/job_report.dm +++ b/code/modules/jobs/job_report.dm @@ -50,7 +50,7 @@ data["livingTime"] = play_records[EXP_TYPE_LIVING] data["ghostTime"] = play_records[EXP_TYPE_GHOST] - data["isAdmin"] = check_rights(R_ADMIN) + data["isAdmin"] = check_rights(R_ADMIN, show_msg = FALSE) return data