mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Fixes admin check in new set_telecrystal proc.
This commit is contained in:
@@ -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."
|
||||
usr << "You do not have access to this command."
|
||||
|
||||
Reference in New Issue
Block a user