diff --git a/code/modules/admin/admin_ranks.dm b/code/modules/admin/admin_ranks.dm index c915816ed0..b74458fd61 100644 --- a/code/modules/admin/admin_ranks.dm +++ b/code/modules/admin/admin_ranks.dm @@ -39,6 +39,9 @@ GLOBAL_PROTECT(admin_ranks) return QDEL_HINT_LETMELIVE . = ..() +/datum/admin_rank/can_vv_get(var_name) + return FALSE + /datum/admin_rank/vv_edit_var(var_name, var_value) return FALSE diff --git a/code/modules/admin/holder2.dm b/code/modules/admin/holder2.dm index 59d432574d..71ee39a81a 100644 --- a/code/modules/admin/holder2.dm +++ b/code/modules/admin/holder2.dm @@ -142,6 +142,9 @@ GLOBAL_PROTECT(href_token) return 1 //we have all the rights they have and more return 0 +/datum/admins/can_vv_get(var_name, var_value) + return FALSE //nice try trialmin + /datum/admins/vv_edit_var(var_name, var_value) return FALSE //nice try trialmin diff --git a/code/modules/admin/verbs/SDQL2/SDQL_2.dm b/code/modules/admin/verbs/SDQL2/SDQL_2.dm index 7c610f41d8..a19ab3c100 100644 --- a/code/modules/admin/verbs/SDQL2/SDQL_2.dm +++ b/code/modules/admin/verbs/SDQL2/SDQL_2.dm @@ -235,42 +235,42 @@ if(ispath(type, /mob)) for(var/mob/d in location) - if(typecache[d.type]) + if(typecache[d.type] && d.can_vv_get()) out += d CHECK_TICK else if(ispath(type, /turf)) for(var/turf/d in location) - if(typecache[d.type]) + if(typecache[d.type] && d.can_vv_get()) out += d CHECK_TICK else if(ispath(type, /obj)) for(var/obj/d in location) - if(typecache[d.type]) + if(typecache[d.type] && d.can_vv_get()) out += d CHECK_TICK else if(ispath(type, /area)) for(var/area/d in location) - if(typecache[d.type]) + if(typecache[d.type] && d.can_vv_get()) out += d CHECK_TICK else if(ispath(type, /atom)) for(var/atom/d in location) - if(typecache[d.type]) + if(typecache[d.type] && d.can_vv_get()) out += d CHECK_TICK else if(ispath(type, /datum)) if(location == world) //snowflake for byond shortcut for(var/datum/d) //stupid byond trick to have it not return atoms to make this less laggy - if(typecache[d.type]) + if(typecache[d.type] && d.can_vv_get()) out += d CHECK_TICK else for(var/datum/d in location) - if(typecache[d.type]) + if(typecache[d.type] && d.can_vv_get()) out += d CHECK_TICK