From 7b24456e2d3a324d7e1d2503890f6677ac8ad56c Mon Sep 17 00:00:00 2001 From: Letter N <24603524+LetterN@users.noreply.github.com> Date: Tue, 16 Feb 2021 20:33:46 +0800 Subject: [PATCH] does not exist --- code/modules/admin/admin_verbs.dm | 6 +++--- code/modules/admin/view_variables/mass_edit_variables.dm | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 43feed2811..e776c07041 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -188,9 +188,9 @@ GLOBAL_PROTECT(admin_verbs_debug) // /client/proc/validate_cards, // /client/proc/test_cardpack_distribution, // /client/proc/print_cards, - #ifdef TESTING - /client/proc/check_missing_sprites, - #endif + // #ifdef TESTING + // /client/proc/check_missing_sprites, + // #endif /datum/admins/proc/create_or_modify_area, #ifdef REFERENCE_TRACKING /datum/admins/proc/view_refs, diff --git a/code/modules/admin/view_variables/mass_edit_variables.dm b/code/modules/admin/view_variables/mass_edit_variables.dm index ac1197c2a6..5b120b6cef 100644 --- a/code/modules/admin/view_variables/mass_edit_variables.dm +++ b/code/modules/admin/view_variables/mass_edit_variables.dm @@ -5,8 +5,8 @@ var/method = 0 //0 means strict type detection while 1 means this type and all subtypes (IE: /obj/item with this set to 1 will set it to ALL items) - // if(tgui_alert(src, "Are you sure you'd like to mass-modify every instance of the [var_name] variable? This can break everything if you do not know what you are doing.", "Slow down, chief!", list("Yes", "No")) != "Yes") - // return + if(tgui_alert(src, "Are you sure you'd like to mass-modify every instance of the [var_name] variable? This can break everything if you do not know what you are doing.", "Slow down, chief!", list("Yes", "No")) != "Yes") + return if(!check_rights(R_VAREDIT)) return