Skip to content

Commit

Permalink
Training Officer Fix (#2512)
Browse files Browse the repository at this point in the history
fixed bug with trusted
  • Loading branch information
Kitsunemitsu authored Nov 5, 2024
1 parent 9977c79 commit 65e8ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModularTegustation/trusted.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65e8ed0

Please sign in to comment.