mirror of
https://github.com/0ptera/Logistic-Train-Network.git
synced 2025-09-06 20:34:47 +00:00
Version: 1.18.6
Date: 2024-01-30 Bugfixes: - Message delivery-removed-depot used fallback stop names instead of Rich Text #331
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.18.6
|
||||
Date: 2024-01-30
|
||||
Bugfixes:
|
||||
- Message delivery-removed-depot used fallback stop names instead of Rich Text #331
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.18.5
|
||||
Date: 2023-08-30
|
||||
Features:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "LogisticTrainNetwork",
|
||||
"version": "1.18.5",
|
||||
"version": "1.18.6",
|
||||
"title": "LTN - Logistic Train Network",
|
||||
"author": "Optera",
|
||||
"contact": "https://forums.factorio.com/memberlist.php?mode=viewprofile&u=21729",
|
||||
|
@@ -50,6 +50,8 @@ function TrainArrives(train)
|
||||
local delivery = global.Dispatcher.Deliveries[train.id]
|
||||
if delivery then
|
||||
-- delivery should have been removed when leaving requester. Handle like delivery timeout.
|
||||
local from_entity = global.LogisticTrainStops[delivery.from_id] and global.LogisticTrainStops[delivery.from_id].entity
|
||||
local to_entity = global.LogisticTrainStops[delivery.to_id] and global.LogisticTrainStops[delivery.to_id].entity
|
||||
if message_level >= 1 then
|
||||
printmsg({
|
||||
"ltn-message.delivery-removed-depot",
|
||||
|
Reference in New Issue
Block a user