Consolidated t-ray scanner code (#34759)

* Consolidated t-ray scanner code

* Fixed cables not showing up on t-ray scans
This commit is contained in:
Cruix
2018-01-22 13:44:49 -08:00
committed by CitadelStationBot
parent 5e1ff26276
commit 23e5b7f396
3 changed files with 19 additions and 42 deletions
+1 -4
View File
@@ -127,10 +127,7 @@ By design, d1 is the smallest direction and d2 is the highest
update_icon()
/obj/structure/cable/update_icon()
if(invisibility)
icon_state = "[d1]-[d2]-f"
else
icon_state = "[d1]-[d2]"
icon_state = "[d1]-[d2]"
color = null
add_atom_colour(cable_color, FIXED_COLOUR_PRIORITY)