From 942ce5229e52f509c15c0315ccc5b9434ac08859 Mon Sep 17 00:00:00 2001 From: Nate Dross Date: Mon, 11 Dec 2023 08:33:44 -0400 Subject: [PATCH] moved action icon update to occur after actual updating of hardhat icon --- code/modules/clothing/head/hardhat.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/clothing/head/hardhat.dm b/code/modules/clothing/head/hardhat.dm index d94789651b75..c4a4fd61cd78 100644 --- a/code/modules/clothing/head/hardhat.dm +++ b/code/modules/clothing/head/hardhat.dm @@ -60,11 +60,11 @@ if(user == loc) user.update_inv_head() + update_icon() + for(var/datum/action/current_action as anything in actions) current_action.update_button_icon() - update_icon() - /obj/item/clothing/head/hardhat/attack_alien(mob/living/carbon/xenomorph/attacking_xeno) if(!can_be_broken) return