mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
enables skin.dmf profiler verbs if people have the needed perms (#30148)
This commit is contained in:
@@ -98,8 +98,8 @@ GLOBAL_PROTECT(href_token)
|
||||
owner.update_active_keybindings()
|
||||
if(rights & (R_DEBUG | R_VIEWRUNTIMES))
|
||||
// Enable the buttons they should have.
|
||||
winset(owner, "debugmcbutton", "is-disabled=true")
|
||||
winset(owner, "profilecode", "is-disabled=true")
|
||||
winset(owner, "debugmcbutton", "is-disabled=false")
|
||||
winset(owner, "profilecode", "is-disabled=false")
|
||||
GLOB.admins |= owner
|
||||
GLOB.de_admins -= ckey
|
||||
GLOB.de_mentors -= ckey
|
||||
|
||||
Reference in New Issue
Block a user