Gets rid of manual overlay manipulation

This commit is contained in:
tortellinitony
2017-09-07 00:38:24 -04:00
committed by CitadelStationBot
parent 5829f56727
commit d73b82cf11
6 changed files with 799 additions and 6 deletions
@@ -428,7 +428,7 @@
/obj/item/device/flashlight/glowstick/update_icon()
item_state = "glowstick"
overlays.Cut()
cut_overlays()
if(!fuel)
icon_state = "glowstick-empty"
cut_overlays()
@@ -86,7 +86,7 @@
icon_state = null
active = TRUE
if(tile_overlay)
loc.overlays += tile_overlay
loc.add_overlay(tile_overlay)
else
if(crossed)
trigger() //no cheesing.