Skip to content

Commit

Permalink
Merge pull request Rotwood-Vale#242 from Xander3359/deadmin-+-context…
Browse files Browse the repository at this point in the history
…-menu-for-all-admins

admin stuff
  • Loading branch information
JTGSZ authored Apr 20, 2024
2 parents 8f5cd1b + 10ab20d commit ef266e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions code/modules/admin/admin_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ GLOBAL_PROTECT(admin_verbs_default)
/client/proc/ghost_up,
/client/proc/ghost_down,
/client/proc/jumptoarea,
/client/proc/jumptokey,
/client/proc/jumptokey,
/client/proc/jumptomob,
/client/proc/returntolobby,
/datum/verbs/menu/Admin/verb/playerpanel,
/client/proc/check_antagonists,
/client/proc/cmd_admin_say
/client/proc/cmd_admin_say,
/client/proc/deadmin, /*destroys our own admin datum so we can play as a regular player*/
/client/proc/set_context_menu_enabled,
)
GLOBAL_LIST_INIT(admin_verbs_admin, world.AVerbsAdmin())
GLOBAL_PROTECT(admin_verbs_admin)
/world/proc/AVerbsAdmin()
return list(
/client/proc/adjusttriumph,
/client/proc/end_party,
/client/proc/set_context_menu_enabled,
/client/proc/deadmin, /*destroys our own admin datum so we can play as a regular player*/
/client/proc/cmd_admin_say, /*admin-only ooc chat*/
/client/proc/hide_verbs, /*hides all our adminverbs*/
/client/proc/hide_most_verbs, /*hides all our hideable adminverbs*/
Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/verbs/randomverbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set category = "Admin"
set name = "Manage Job Slots"

if(!check_rights(R_ADMIN))
if(!check_rights(R_DEBUG))
return
holder.manage_free_slots()
SSblackbox.record_feedback("tally", "admin_verb", 1, "Manage Job Slots") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
Expand Down

0 comments on commit ef266e8

Please sign in to comment.