mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-10 17:32:59 +00:00
Fixed cable colors
- Fixed a couple of lines of code in power.dmi so that cables correctly update their color - Fixed the contrast of the cable icons
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
|
||||
if(level==1) hide(T.intact)
|
||||
cable_list += src
|
||||
update_icon()
|
||||
|
||||
|
||||
/obj/structure/cable/Del() // called when a cable is deleted
|
||||
@@ -93,6 +94,7 @@
|
||||
/obj/structure/cable/proc/updateicon()
|
||||
icon_state = "[d1]-[d2]"
|
||||
alpha = invisibility ? 127 : 255
|
||||
color = cable_color
|
||||
|
||||
|
||||
// returns the powernet this cable belongs to
|
||||
|
||||
Reference in New Issue
Block a user