mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-10 06:08:11 -06:00
updated changelog
This commit is contained in:
@@ -3,6 +3,8 @@ Version: 1.2.9
|
|||||||
Date: 2022-1-7
|
Date: 2022-1-7
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
- Fixed a bug with deliveries sometimes failing to be removed
|
- Fixed a bug with deliveries sometimes failing to be removed
|
||||||
|
- Fixed several rare crashes
|
||||||
|
- Fixed cybernetic combinator gui not allowing checkbox toggling when clicking on a checkbox caption
|
||||||
- Updated flib dependency to the correct version
|
- Updated flib dependency to the correct version
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.2.8
|
Version: 1.2.8
|
||||||
|
|||||||
@@ -187,12 +187,14 @@ local migrations_table = {
|
|||||||
if not train.depot_id then
|
if not train.depot_id then
|
||||||
if train.entity.valid then
|
if train.entity.valid then
|
||||||
local e = get_any_train_entity(train.entity)
|
local e = get_any_train_entity(train.entity)
|
||||||
local stops = e.force.get_train_stops({name = train.depot_name, surface = e.surface})
|
if e then
|
||||||
for stop in rnext_consume, stops do
|
local stops = e.force.get_train_stops({name = train.depot_name, surface = e.surface})
|
||||||
local new_depot_id = stop.unit_number
|
for stop in rnext_consume, stops do
|
||||||
if map_data.depots[new_depot_id] then
|
local new_depot_id = stop.unit_number
|
||||||
train.depot_id = new_depot_id--[[@as uint]]
|
if map_data.depots[new_depot_id] then
|
||||||
break
|
train.depot_id = new_depot_id--[[@as uint]]
|
||||||
|
break
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user