From 33159c4efda82a9bf0d4da319992fd69f97e9070 Mon Sep 17 00:00:00 2001 From: Bloop <13398309+vinylspiders@users.noreply.github.com> Date: Sun, 31 Dec 2023 14:41:22 -0500 Subject: [PATCH] Fixes extinguisher cabinet not updating its icon (#80668) ## About The Pull Request Just makes the extinguisher cabinet actually look opened after removing the extinguisher like it's supposed to. ## Why It's Good For The Game
Looks like it's supposed to again ![dreamseeker_NlHRontRpD](https://github.com/tgstation/tgstation/assets/13398309/c485c612-30d0-480a-9525-1962aa050587)
## Changelog :cl: fix: fixed fire extinguisher cabinets not appearing opened after removing the fire extinguisher from them /:cl: --- code/game/objects/structures/extinguisher.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/objects/structures/extinguisher.dm b/code/game/objects/structures/extinguisher.dm index 30599f8130e..ce848e92cbd 100644 --- a/code/game/objects/structures/extinguisher.dm +++ b/code/game/objects/structures/extinguisher.dm @@ -105,6 +105,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/extinguisher_cabinet, 29) if(!opened) opened = 1 playsound(loc, 'sound/machines/click.ogg', 15, TRUE, -3) + update_appearance(UPDATE_ICON) else toggle_cabinet(user)