From 00a753d6322c170e1bd4430399b25dff21594674 Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Sat, 16 Nov 2019 03:02:43 -0700 Subject: [PATCH] Merge pull request #9817 from Ghommie/Ghommie-cit357 Fixing a keybinding issue. --- code/modules/keybindings/bindings_human.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/keybindings/bindings_human.dm b/code/modules/keybindings/bindings_human.dm index 38870c38..a9eaface 100644 --- a/code/modules/keybindings/bindings_human.dm +++ b/code/modules/keybindings/bindings_human.dm @@ -1,7 +1,4 @@ /mob/living/carbon/human/key_down(_key, client/user) - if("Shift") - sprint_hotkey(TRUE) - return if(client.keys_held["Shift"]) switch(_key) if("E") // Put held thing in belt or take out most recent thing from belt @@ -59,6 +56,10 @@ return stored.attack_hand(src) // take out thing from backpack return + switch(_key) + if("Shift") + sprint_hotkey(TRUE) + return return ..() /mob/living/carbon/human/key_up(_key, client/user)