mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-14 14:12:42 -06:00
updated todo
This commit is contained in:
1
TODO
1
TODO
@@ -11,3 +11,4 @@ minor:
|
|||||||
close gui when the combinator is destroyed
|
close gui when the combinator is destroyed
|
||||||
do not play close sound when a different gui is opened
|
do not play close sound when a different gui is opened
|
||||||
gui can desync if settings are changed outside of it while it is open
|
gui can desync if settings are changed outside of it while it is open
|
||||||
|
give the combinators a sensible reaction to low or no power
|
||||||
|
|||||||
@@ -372,6 +372,7 @@ local function tick_poll_station(map_data, mod_settings)
|
|||||||
station_id = map_data.active_station_ids[tick_data.i]
|
station_id = map_data.active_station_ids[tick_data.i]
|
||||||
station = map_data.stations[station_id]
|
station = map_data.stations[station_id]
|
||||||
if station then
|
if station then
|
||||||
|
--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
|
if station.network_name and station.deliveries_total < station.entity_stop.trains_limit then
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user