mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-14 22:12:38 -06:00
added not found notification
This commit is contained in:
@@ -504,8 +504,13 @@ local function tick_dispatch(map_data, mod_settings)
|
|||||||
end
|
end
|
||||||
if best_depot then
|
if best_depot then
|
||||||
send_train_between(map_data, r_station_id, table_remove(p_stations, best), best_depot, item_name)
|
send_train_between(map_data, r_station_id, table_remove(p_stations, best), best_depot, item_name)
|
||||||
elseif could_have_been_serviced then
|
else
|
||||||
send_missing_train_alert_for_stops(r_station.entity_stop, stations[p_stations[best]].entity_stop)
|
if could_have_been_serviced then
|
||||||
|
send_missing_train_alert_for_stops(r_station.entity_stop, stations[p_stations[best]].entity_stop)
|
||||||
|
end
|
||||||
|
if r_station.entity_comb1.valid then
|
||||||
|
set_combinator_operation(r_station.entity_comb1, OPERATION_PRIMARY_IO_NOT_FOUND)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user