Skip to content

Commit

Permalink
chang
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Feb 25, 2024
1 parent 6cd49d3 commit 256014f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion code/controllers/subsystem/vote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ GLOBAL_LIST_INIT(possible_vote_types, list(
if(!(params["vote_type"] in GLOB.possible_vote_types))
return

if(!check_rights(R_ADMIN))
if(!check_rights(R_MOD))
var/list/vote_type = GLOB.possible_vote_types[params["vote_type"]]
if(vote_type["admin_only"])
return
Expand Down
6 changes: 2 additions & 4 deletions code/modules/admin/admin_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ GLOBAL_LIST_INIT(admin_verbs_minor_event, list(
/client/proc/cmd_admin_change_custom_event,
/datum/admins/proc/admin_force_distress,
/datum/admins/proc/admin_force_ERT_shuttle,
/client/proc/enable_event_mob_verbs,
/client/proc/force_hijack,
/datum/admins/proc/force_predator_round, //Force spawns a predator round.
/client/proc/adjust_predator_round,
Expand Down Expand Up @@ -141,7 +142,6 @@ GLOBAL_LIST_INIT(admin_verbs_minor_event, list(
))

GLOBAL_LIST_INIT(admin_verbs_major_event, list(
/client/proc/enable_event_mob_verbs,
/client/proc/cmd_admin_dress_all,
/client/proc/free_all_mobs_in_view,
/client/proc/drop_bomb,
Expand Down Expand Up @@ -238,6 +238,7 @@ GLOBAL_LIST_INIT(debug_verbs, list(
))

GLOBAL_LIST_INIT(admin_verbs_possess, list(
/client/proc/cmd_assume_direct_control,
/client/proc/possess,
/client/proc/release
))
Expand All @@ -262,10 +263,7 @@ GLOBAL_LIST_INIT(admin_mob_event_verbs_hideable, list(
/client/proc/editappear,
/client/proc/cmd_admin_addhud,
/client/proc/cmd_admin_change_their_hivenumber,
/client/proc/cmd_assume_direct_control,
/client/proc/free_mob_for_ghosts,
/client/proc/possess,
/client/proc/release,
/client/proc/cmd_admin_grantfullaccess,
/client/proc/cmd_admin_grantallskills,
/client/proc/admin_create_account
Expand Down
2 changes: 2 additions & 0 deletions code/modules/admin/verbs/debug.dm
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@
account_user.mind.store_memory(remembered_info)
account_user.mind.initial_account = generated_account

log_admin("[key_name(usr)] has created a new bank account for [key_name(account_user)].")

/client/proc/cmd_assume_direct_control(mob/M in GLOB.mob_list)
set name = "Control Mob"
set desc = "Assume control of the mob"
Expand Down

0 comments on commit 256014f

Please sign in to comment.