mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 06:07:22 +01:00
Merge pull request #11073 from VOREStation/Arokha/connless
Make connections lists lazy
This commit is contained in:
committed by
Chompstation Bot
parent
b246cfd374
commit
bb6f219db6
@@ -51,7 +51,8 @@
|
||||
var/image/I
|
||||
if(!hatch_open)
|
||||
for(var/i = 1 to 4)
|
||||
I = image(icon, "catwalk[connections[i]]", dir = 1<<(i-1))
|
||||
var/connect = connections?[i] || 0
|
||||
I = image(icon, "catwalk[connect]", dir = 1<<(i-1))
|
||||
add_overlay(I)
|
||||
if(plating_color)
|
||||
I = image(icon, "plated")
|
||||
|
||||
Reference in New Issue
Block a user