From b5344a1e15aa4b6257340026c7a8fce8085264cf Mon Sep 17 00:00:00 2001 From: Iajret Date: Tue, 16 Apr 2024 13:49:36 +0300 Subject: [PATCH] admin verb added --- tff_modular/modules/blooper/bark.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tff_modular/modules/blooper/bark.dm b/tff_modular/modules/blooper/bark.dm index 72fa8da623b..12a2ceed7e9 100644 --- a/tff_modular/modules/blooper/bark.dm +++ b/tff_modular/modules/blooper/bark.dm @@ -37,9 +37,7 @@ GLOBAL_VAR_INIT(blooper_allowed, TRUE) // For administrators message_admins("[key_name_admin(usr)] toggled Blooper.") SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Blooper", "[GLOB.blooper_allowed ? "Enabled" : "Disabled"]")) // If you are copy-pasting this, ensure the 4th parameter is unique to the new proc! -/world/AVerbsAdmin() - . = ..() - return . + /datum/admins/proc/toggleblooper +ADMIN_VERB(verb_path, R_SERVER, "Toggle Blooper", "Toggle ANNOYING NOIZES", ADMIN_CATEGORY_SERVER) /proc/toggle_blooper(toggle = null) if(toggle != null)