diff --git a/code/modules/keybindings/admin.dm b/code/modules/keybindings/admin.dm index 3eddc44ff4..00ce06a31b 100644 --- a/code/modules/keybindings/admin.dm +++ b/code/modules/keybindings/admin.dm @@ -34,15 +34,15 @@ user.holder?.player_panel_new() return TRUE -/datum/keybinding/admin/admin_pm - hotkey_keys = list("F8") - name = "admin_pm" - full_name = "Admin PM" - description = "Sends Admin PM message" - -/datum/keybinding/admin/admin_pm/down(client/user) - user.cmd_admin_pm_panel() - return TRUE +// /datum/keybinding/admin/admin_pm # Celadon Changes => mod_celadon\_components\code\keybinds.dm +// hotkey_keys = list("F8") +// name = "admin_pm" +// full_name = "Admin PM" +// description = "Sends Admin PM message" + +// /datum/keybinding/admin/admin_pm/down(client/user) +// user.togglebuildmodeself() +// return TRUE /datum/keybinding/admin/invisimin hotkey_keys = list("F9") diff --git a/mod_celadon/_components/code/keybinds.dm b/mod_celadon/_components/code/keybinds.dm index 5e933f7d0c..b0c3235522 100644 --- a/mod_celadon/_components/code/keybinds.dm +++ b/mod_celadon/_components/code/keybinds.dm @@ -4,3 +4,13 @@ set_macros() to_chat(src, SPAN_WARNING("Перерегистрация макросов выполнена. Если не сработало, убедитесь что раскладка переключена на английский язык.")) + +/datum/keybinding/admin/admin_pm + hotkey_keys = list("F8") + name = "build_mod" + full_name = "Build Mod" + description = "Change Build Mod" + +/datum/keybinding/admin/admin_pm/down(client/user) + user.togglebuildmodeself() + return TRUE