wow lotsa effort huh

This commit is contained in:
kevinz000
2020-04-26 03:33:08 -07:00
parent e3b987879e
commit aeaf6ea102
2 changed files with 6 additions and 2 deletions

View File

@@ -352,7 +352,11 @@ GLOBAL_LIST_EMPTY(electrochromatic_window_lookup)
/obj/structure/window/update_atom_colour()
if((electrochromatic_status != ELECTROCHROMATIC_OFF) && (electrochromatic_status != ELECTROCHROMATIC_DIMMED))
return FALSE
return ..()
. = ..()
if(color_hex2num(color) < 255)
set_opacity(255)
else
set_opacity(FALSE)
/obj/structure/window/proc/check_state(checked_state)
if(state == checked_state)