mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-10 14:08:16 -06:00
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:
@@ -503,6 +503,9 @@ local function tick_poll_station(map_data, mod_settings)
|
||||
station_id = map_data.active_station_ids[tick_data.i]
|
||||
station = map_data.stations[station_id]
|
||||
if station then
|
||||
if station_id == 70487 then
|
||||
local i = 0
|
||||
end
|
||||
--NOTE: polling trains_limit here is expensive and not strictly necessary but using it to early out saves more ups
|
||||
if station.network_name and station.deliveries_total < station.entity_stop.trains_limit then
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user