From 5bc596c26caa1bf81d1846a78ecca8e1c85ed8b0 Mon Sep 17 00:00:00 2001 From: Geeves Date: Mon, 22 Mar 2021 16:19:57 +0200 Subject: [PATCH] Hidden Slots Fix (#11507) --- code/modules/mob/living/carbon/human/inventory.dm | 1 + html/changelogs/geeves-hidden_slots.yml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 html/changelogs/geeves-hidden_slots.yml diff --git a/code/modules/mob/living/carbon/human/inventory.dm b/code/modules/mob/living/carbon/human/inventory.dm index 1f1987097a1..9504c1cb3e3 100644 --- a/code/modules/mob/living/carbon/human/inventory.dm +++ b/code/modules/mob/living/carbon/human/inventory.dm @@ -339,6 +339,7 @@ This saves us from having to call add_fingerprint() any time something is put in if(gear["slot"] == slot) W.screen_loc = gear["loc"] break + hud_used.hidden_inventory_update() if(W.action_button_name) update_action_buttons() diff --git a/html/changelogs/geeves-hidden_slots.yml b/html/changelogs/geeves-hidden_slots.yml new file mode 100644 index 00000000000..548e48380be --- /dev/null +++ b/html/changelogs/geeves-hidden_slots.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - bugfix: "Equipping clothing when the inventory slots are hidden no longer makes the item float in space." \ No newline at end of file