Merge pull request #13380 from AffectedArc07/pr-reviewer-mc-tab

Adds MC VIEWING to the VIEWRUNTIMES permission
This commit is contained in:
Fox McCloud
2020-05-09 23:22:08 -04:00
committed by GitHub
+2 -2
View File
@@ -964,8 +964,8 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
for(var/obj/effect/proc_holder/spell/S in mind.spell_list)
add_spell_to_statpanel(S)
if(is_admin(src))
// Allow admins + PR reviewers to VIEW the panel. Doesnt mean they can click things.
if(is_admin(src) || check_rights(R_VIEWRUNTIMES))
if(statpanel("MC")) //looking at that panel
var/turf/T = get_turf(client.eye)
stat("Location:", COORD(T))