fixed inconsistent naming

This commit is contained in:
mamoniot
2022-12-23 22:13:42 -05:00
parent 87f55f4631
commit de5f465910
8 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -247,7 +247,7 @@ local function on_combinator_built(map_data, comb)
params.operation = op
params.first_signal = NETWORK_SIGNAL_DEFAULT
control.parameters = params
elseif op ~= MODE_PRIMARY_IO and op ~= MODE_SECONDARY_IO and op ~= MODE_DEPOT and op ~= MODE_REFUELER and op ~= MODE_WAGON_MANIFEST then
elseif op ~= MODE_PRIMARY_IO and op ~= MODE_SECONDARY_IO and op ~= MODE_DEPOT and op ~= MODE_REFUELER and op ~= MODE_WAGON then
op = MODE_PRIMARY_IO
params.operation = op
control.parameters = params
@@ -258,7 +258,7 @@ local function on_combinator_built(map_data, comb)
map_data.to_output[comb.unit_number] = out
map_data.to_stop[comb.unit_number] = stop
if op == MODE_WAGON_MANIFEST then
if op == MODE_WAGON then
if rail then
update_stop_from_rail(map_data, rail, nil, true)
end