Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# About the pull request Fixes the `icon_state` of cameras changing to the mapping helper sprite after being EMPed. This was caused by the `initial(icon_state)` calls in `/obj/structure/machinery/camera/emp_act()`, which were setting its sprite to `"autocam_editoremp"` and `"autocam_editor"`. To fix it, I modified `update_icon()` so that it handles all of the camera's states, and made everything just use that. (Plus a tiny refactor of `emp_act()`.) # Explain why it's good for the game Mapping helpers shouldn't be visible in-game. # Testing Photographs and Procedure <details> <summary>Screenshots & Videos</summary> I can't really do comparison videos since it takes 90 seconds for the EMP to wear off, but here's what was happening previously: ![mapping helper](https://github.com/cmss13-devs/cmss13/assets/57483089/7850d904-a39a-4a67-996e-3597cdfa5dce) </details> # Changelog :cl: fix: Fixed camera sprites changing to their mapping helper after being EMPed. /:cl:
- Loading branch information