From 87cf961a2648211016d02ac953bccdfd1f5b0764 Mon Sep 17 00:00:00 2001 From: Geeves Date: Tue, 23 Mar 2021 14:42:04 +0200 Subject: [PATCH] Sorry CI (#11522) * Sorry CI * Update code/modules/mob/living/carbon/human/inventory.dm Co-authored-by: Matt Atlas --- code/modules/mob/living/carbon/human/inventory.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/inventory.dm b/code/modules/mob/living/carbon/human/inventory.dm index 9504c1cb3e3..4ea8dee0fc9 100644 --- a/code/modules/mob/living/carbon/human/inventory.dm +++ b/code/modules/mob/living/carbon/human/inventory.dm @@ -339,7 +339,8 @@ 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(hud_used) + hud_used.hidden_inventory_update() if(W.action_button_name) update_action_buttons()