[MIRROR] Fixes a likely copy paste error in the APC update_icon_state() proc [MDB IGNORE] (#22560)

* Fixes a likely copy paste error in the APC update_icon_state() proc (#76904)

## About The Pull Request

https://github.com/tgstation/tgstation/pull/76788 introduced this.

I don't think it was intentional. Probably a copy paste error, which is
bound to happen when you clean so many files! My goodness.

Keep up the good work though @ YesterdaysPromise!!

## Why It's Good For The Game

Downstreams can have different filepaths for sprites, and this would
override them.

## Changelog

🆑
code: apc's update_icon_state proc will no longer set the icon file path
/🆑

* Fixes a likely copy paste error in the APC update_icon_state() proc

---------

Co-authored-by: Bloop <vinylspiders@gmail.com>
This commit is contained in:
SkyratBot
2023-07-18 16:32:45 -04:00
committed by GitHub
co-authored by Bloop
parent 3c2a52098c
commit 70cfeb4814
-1
View File
@@ -27,7 +27,6 @@
/obj/machinery/power/apc/update_icon_state()
if(!update_state)
icon = 'icons/obj/machines/wallmounts.dmi'
icon_state = "apc0"
return ..()
if(update_state & (UPSTATE_OPENED1|UPSTATE_OPENED2))