From 31390ff2e1dd63f26a89b6d4944610f206ec4ae4 Mon Sep 17 00:00:00 2001 From: Luc <89928798+lewcc@users.noreply.github.com> Date: Wed, 1 May 2024 20:14:23 -0400 Subject: [PATCH] Check against current mob for admin keybinds (#25341) --- code/datums/keybindings/admin_keybinds.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/keybindings/admin_keybinds.dm b/code/datums/keybindings/admin_keybinds.dm index f2f9675f2aa..3bf1e6b1736 100644 --- a/code/datums/keybindings/admin_keybinds.dm +++ b/code/datums/keybindings/admin_keybinds.dm @@ -4,7 +4,7 @@ var/rights /datum/keybinding/admin/can_use(client/C, mob/M) - if(rights && !check_rights(rights, FALSE)) + if(rights && !check_rights(rights, FALSE, M)) return FALSE return !isnull(C.holder) && ..()