diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index f3daf2c91d..c1cc4f2602 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -1334,11 +1334,11 @@ proc/admin_notice(var/message, var/rights) var/crystals - if(R_ADMIN) + if(check_rights(R_ADMIN)) crystals = input("Amount of telecrystals for [H.ckey]", crystals) as null|num if (!isnull(crystals)) H.mind.tcrystals = crystals var/msg = "[key_name(usr)] has modified [H.ckey]'s telecrystals to [crystals]." message_admins(msg) else - usr << "You do not have access to this command." \ No newline at end of file + usr << "You do not have access to this command."