Skip to content

Commit

Permalink
Fixes extinguisher cabinet not updating its icon (#222)
Browse files Browse the repository at this point in the history
* 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

<details><summary>Looks like it's supposed to again</summary>

![dreamseeker_NlHRontRpD](https://github.com/tgstation/tgstation/assets/13398309/c485c612-30d0-480a-9525-1962aa050587)

</details>

## Changelog

:cl:
fix: fixed fire extinguisher cabinets not appearing opened after
removing the fire extinguisher from them
/:cl:

* Fixes extinguisher cabinet not updating its icon

---------

Co-authored-by: Bloop <[email protected]>
Co-authored-by: NovaBot <[email protected]>
  • Loading branch information
3 people authored and Iajret committed Jan 3, 2024
1 parent 5bb7339 commit 4772aba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/game/objects/structures/extinguisher.dm
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,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)

Expand Down

0 comments on commit 4772aba

Please sign in to comment.