From 65e8ed0c5d5a0f142cd44293d3721e7e47e2d364 Mon Sep 17 00:00:00 2001 From: Kirie Saito <77302679+Kitsunemitsu@users.noreply.github.com> Date: Tue, 5 Nov 2024 14:18:36 -0500 Subject: [PATCH] Training Officer Fix (#2512) fixed bug with trusted --- ModularTegustation/trusted.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ModularTegustation/trusted.dm b/ModularTegustation/trusted.dm index 813b6c7583d2..0bc674c4bed9 100644 --- a/ModularTegustation/trusted.dm +++ b/ModularTegustation/trusted.dm @@ -34,7 +34,7 @@ GLOBAL_LIST(mentor_players) GLOB.mentor_players[ckey(line)] = TRUE //Associative so we can check it much faster /proc/is_mentor_player(client/user) - if(GLOB.mentor_players[user.ckey]) + if(user.ckey in GLOB.mentor_players) return TRUE if(check_rights(R_ADMIN, FALSE)) return TRUE