From 74baeffc1e8d288c396663f7ccef788c1d9ba2db Mon Sep 17 00:00:00 2001 From: harryob Date: Sat, 26 Oct 2024 17:28:08 +0100 Subject: [PATCH] stops dead people using their human keybinds (#7360) fixes #7358 also: fixes people being able to show-held-item when they're dead through the keybind (like if they're a pred and can't drop their wristblades) :cl: fix: fixes being able to use hotkeys for humans when you're a dead human /:cl: --- code/datums/keybinding/human.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/keybinding/human.dm b/code/datums/keybinding/human.dm index 810ee828880b..08db6b4e75b9 100644 --- a/code/datums/keybinding/human.dm +++ b/code/datums/keybinding/human.dm @@ -3,7 +3,7 @@ weight = WEIGHT_MOB /datum/keybinding/human/can_use(client/user) - return ishuman(user.mob) + return ishuman(user.mob) && user.mob.stat == CONSCIOUS /datum/keybinding/human/issue_order hotkey_keys = list("Unbound")