From eb45ef9d9f24865f20341e6a61be37c75da09ea3 Mon Sep 17 00:00:00 2001 From: Kyep <16434066+Kyep@users.noreply.github.com> Date: Sun, 20 Dec 2020 10:10:03 +0000 Subject: [PATCH] Fixes #15047 cyborgs using hotkeys while dead (#15150) Co-authored-by: Kyep --- code/_onclick/cyborg.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/_onclick/cyborg.dm b/code/_onclick/cyborg.dm index fa29e857ab7..2bf62cdc5c7 100644 --- a/code/_onclick/cyborg.dm +++ b/code/_onclick/cyborg.dm @@ -17,6 +17,8 @@ if(is_ventcrawling(src)) // To stop drones interacting with anything while ventcrawling return + if(stat == DEAD) + return var/list/modifiers = params2list(params) if(modifiers["shift"] && modifiers["ctrl"])