From 40bcb74a56ca849c7325623c93c20ff4bdaa5b46 Mon Sep 17 00:00:00 2001 From: kevinz000 Date: Sun, 1 Oct 2017 07:25:25 -0700 Subject: [PATCH 1/2] Fixes delete hotkey triggering messages when the user isn't even a living mob (#31165) --- code/modules/mob/mob_movement.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/mob_movement.dm b/code/modules/mob/mob_movement.dm index 3396d157de..4da630bb31 100644 --- a/code/modules/mob/mob_movement.dm +++ b/code/modules/mob/mob_movement.dm @@ -62,6 +62,8 @@ /client/verb/delete_key_pressed() set hidden = 1 + if(!isliving(usr)) + return if(!usr.pulling) to_chat(usr, "You are not pulling anything.") return