Quick bandaid for table telescreens/buttons. (#12339)

This commit is contained in:
Ghom
2020-05-24 22:13:20 +02:00
committed by GitHub
parent 83709de1a2
commit 292f1afa3c
2 changed files with 12 additions and 6 deletions
+6 -1
View File
@@ -169,13 +169,18 @@
desc = "Used for watching an empty arena."
icon = 'icons/obj/stationobjs.dmi'
icon_state = "telescreen"
plane = ABOVE_WALL_PLANE
network = list("thunder")
density = FALSE
circuit = null
clockwork = TRUE //it'd look very weird
light_power = 0
/obj/machinery/computer/security/telescreen/Initialize()
. = ..()
var/turf/T = get_turf_pixel(src)
if(iswallturf(T))
plane = ABOVE_WALL_PLANE
/obj/machinery/computer/security/telescreen/update_icon_state()
icon_state = initial(icon_state)
if(stat & BROKEN)