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

@@ -3,9 +3,7 @@ function AddPowerPole(event)
if e then
storage.representativePoles[e.unit_number] = e
-- Update cache with new network
if e.electric_network_id then
storage.networkCache[e.electric_network_id] = e
end
storage.networkCache = nil
end
end
@@ -50,7 +48,7 @@ function ScanNetworks()
end
end
end
end
end
function SendPowerStats()
if options.enablePower then