summaryrefslogtreecommitdiff
path: root/technic_chests/gold_chest.lua
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@yahoo.com>2014-04-27 15:57:11 +0200
committerRealBadAngel <maciej.kasatkin@yahoo.com>2014-04-27 15:57:11 +0200
commit18cae761afa7a979929176f401b204418fae5971 (patch)
tree4f6e3fd63d21fb29b7a10e32f3048afb083edb7f /technic_chests/gold_chest.lua
parent593972b1561016b9fd700998b1ef0d48abd25eda (diff)
The code to connect an electrical machine to cables would only consider
the first-seen tier for which the machine was registered. So the switching station, which is uniquely registered for all tiers, would only visually connect to LV cable when placed, not to MV or HV cable. (It would function nevertheless, and cable would connect to the switching station if placed later.) Change to consider all tiers. Incidentally avoid a gratuitous iteration through all registered machines.
Diffstat (limited to 'technic_chests/gold_chest.lua')
0 files changed, 0 insertions, 0 deletions