Update version to 0.2.1, add player color retrieval, and enhance train trip statistics
Performance improvments for power stats
This commit is contained in:
@@ -44,6 +44,7 @@ script.on_init(function ()
|
||||
storage.constructedEntites = {}
|
||||
storage.deconstructedEntities = {}
|
||||
storage.trainStats = {}
|
||||
storage.networkCache = {}
|
||||
|
||||
---@type LuaTrain[]
|
||||
storage.trains = {}
|
||||
@@ -102,6 +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.trains = storage.trains or {}
|
||||
---@type table<uint, trainStat>
|
||||
storage.trainStats = storage.trainStats or {}
|
||||
|
||||
Reference in New Issue
Block a user