From 572f3b8905dcf71446c5379800dbb6418f9221b9 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Thu, 12 Oct 2017 16:27:22 -0400 Subject: [PATCH 1/2] Merge pull request #31585 from ShizCalev/empty-light-editor-fix Fixes empty light fixtures showing as working lights in DM --- code/modules/power/lighting.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index dc4296f262..d5b23670e3 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -190,11 +190,17 @@ break_light_tube(1) return ..() +/obj/machinery/light/built + icon_state = "tube-empty" + /obj/machinery/light/built/New() status = LIGHT_EMPTY update(0) ..() +/obj/machinery/light/small/built + icon_state = "bulb-empty" + /obj/machinery/light/small/built/New() status = LIGHT_EMPTY update(0)