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:
@@ -33,7 +33,10 @@ end
|
||||
|
||||
function SendLogisticStats()
|
||||
if options.enableRobots then
|
||||
local send = GetAllLogisticGrids().."\n"..GetLogisticNetworkContents()
|
||||
helpers.send_udp(udpAddress,send,serverIndex)
|
||||
local returnParts = {}
|
||||
returnParts[#returnParts+1] = GetAllLogisticGrids()
|
||||
returnParts[#returnParts+1] = GetLogisticNetworkContents()
|
||||
--local send = GetAllLogisticGrids().."\n"..GetLogisticNetworkContents()
|
||||
helpers.send_udp(udpAddress,table.concat(returnParts,"\n"),serverIndex)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user