Skip to content

Commit

Permalink
Merge pull request #5839 from sojourn-13/mod-mob-control
Browse files Browse the repository at this point in the history
Lets mods dragdrop ghosts into control of a mob.
  • Loading branch information
Trilbyspaceclone authored Nov 13, 2024
2 parents fb3f97b + af666cf commit 415b8e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/admin/admin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ ADMIN_VERB_ADD(/datum/admins/proc/toggleguests, R_ADMIN, FALSE)
return //Extra sanity check to make sure only observers are shoved into things

//Same as assume-direct-control perm requirements.
if (!check_rights(R_ADMIN|R_DEBUG,0))
if (!check_rights(R_ADMIN|R_MOD|R_DEBUG,0))
return 0
if (!frommob.ckey)
return 0
Expand Down

0 comments on commit 415b8e9

Please sign in to comment.