From b6d003ea5533b5c6a4eaa6d625ad48e1a29e1060 Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Sat, 3 Sep 2016 00:51:22 -0400 Subject: [PATCH] better way --- code/game/gamemodes/game_mode.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm index fe4d9208904..06f071366e1 100644 --- a/code/game/gamemodes/game_mode.dm +++ b/code/game/gamemodes/game_mode.dm @@ -388,7 +388,7 @@ proc/display_roundstart_logout_report() for(var/mob/M in mob_list) - if(M.client && M.client.holder && (M.client.holder.rights & R_ADMIN)) + if(check_rights(R_ADMIN, 0, M)) to_chat(M, msg)