Removes icon-on / icon-off from Smartfridge Types (#39251)

Uses initial() to replace 2 vars
This commit is contained in:
Grandmother of 50
2018-07-23 20:25:30 -04:00
committed by Emmett Gaines
parent af842acf81
commit ef64f77acb
4 changed files with 7 additions and 13 deletions
@@ -175,8 +175,6 @@
desc = "A heated storage unit."
icon_state = "donkvendor"
icon = 'icons/obj/lavaland/donkvendor.dmi'
icon_on = "donkvendor"
icon_off = "donkvendor"
light_range = 5
light_power = 1.2
light_color = "#DDFFD3"
@@ -185,6 +183,9 @@
flags_1 = NODECONSTRUCT_1
var/empty = FALSE
/obj/machinery/smartfridge/survival_pod/update_icon()
return
/obj/machinery/smartfridge/survival_pod/Initialize(mapload)
. = ..()
if(empty)