Skip to content

Commit

Permalink
moved action icon update to occur after actual updating of hardhat icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Dross committed Dec 11, 2023
1 parent 25d70da commit 942ce52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/clothing/head/hardhat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 942ce52

Please sign in to comment.