From 70cfeb4814ebba4cc5f9f74a88b91d7017e64d3d Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 18 Jul 2023 22:32:45 +0200 Subject: [PATCH] [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 :cl: code: apc's update_icon_state proc will no longer set the icon file path /:cl: * Fixes a likely copy paste error in the APC update_icon_state() proc --------- Co-authored-by: Bloop --- code/modules/power/apc/apc_appearance.dm | 1 - 1 file changed, 1 deletion(-) diff --git a/code/modules/power/apc/apc_appearance.dm b/code/modules/power/apc/apc_appearance.dm index 0f7cebec847..06e0452efad 100644 --- a/code/modules/power/apc/apc_appearance.dm +++ b/code/modules/power/apc/apc_appearance.dm @@ -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))