1.2.5 Experimental (#22)

* prepared for 1.2.2

* updated todo

* fixed bad code

* made wagon control spread out items

* updated changelog

* implemented disabled inactivity condition

* added depot settings

* added a bunch of settings

* fixed a crash from network each

* started adding network each to depots

* finished adding network each to depots

* improved defaults

* added capacity priority

* fixed se bugs

* updated changelog

* flipped sign of outputs

* fixed migrations

* added support for cargo at depots

* fixed crash

* improved allow cargo in depots

* fixed changelog

* fixed migration

* finished testing new features

* added more map settings

* updated readme

* updated locale

* updated readme

* updated readme

* bugfixes

* updated version

* added migration

* fixed crash

* 1.2.4

* 1.2.5 bugfix

* fixed migration version
This commit is contained in:
Monica Moniot
2022-12-30 15:51:16 -05:00
committed by GitHub
parent 7d2f0c2ccd
commit b8a6f5fb97
6 changed files with 61 additions and 6 deletions
+5 -1
View File
@@ -139,6 +139,10 @@ local function on_station_built(map_data, stop, comb1, comb2)
local id = stop.unit_number--[[@as uint]]
map_data.stations[id] = station
map_data.warmup_station_ids[#map_data.warmup_station_ids + 1] = id
if not map_data.queue_station_update then
map_data.queue_station_update = {}
end
map_data.queue_station_update[id] = true
update_stop_if_auto(map_data, station, true)
interface_raise_station_created(id)
@@ -371,7 +375,7 @@ function combinator_update(map_data, comb, reset_display)
if stop then
id = stop.unit_number--[[@as uint]]
station = map_data.stations[id]
if station.entity_comb1 ~= comb then
if station and station.entity_comb1 ~= comb then
station = nil
end
if should_reset and station then