Private
Public Access
1
0

Update version to 0.2.2, improve network cache handling, and enhance train state tracking

This commit is contained in:
Jan Grießhaber
2026-01-04 10:37:10 +01:00
parent f40e219a2e
commit a44d27c386
6 changed files with 14 additions and 12 deletions

View File

@@ -103,7 +103,7 @@ script.on_configuration_changed(function()
storage.playerDeathCause = storage.playerDeathCause or {}
storage.constructedEntites = storage.constructedEntites or {}
storage.deconstructedEntities = storage.deconstructedEntities or{}
storage.networkCache =storage.networkCache or {}
storage.networkCache = storage.networkCache or {}
storage.trains = storage.trains or {}
---@type table<uint, trainStat>
storage.trainStats = storage.trainStats or {}
@@ -230,10 +230,11 @@ function SendAll(event)
isInitialized = true
if scannedGrids == false then
storage.networkCache = nil
ScanNetworks()
scannedGrids = true
end
if scannedLabs == false then
ScanLabs()
scannedLabs = true