Add logistic network contents retrieval to SendLogisticStats function
This commit is contained in:
@@ -152,6 +152,7 @@ end
|
||||
|
||||
|
||||
function SendTrainStats()
|
||||
if options.enableTrains then
|
||||
ScanTrains()
|
||||
local returnParts = {}
|
||||
returnParts[#returnParts+1] = GetTrainPlayerKills()
|
||||
@@ -159,4 +160,5 @@ function SendTrainStats()
|
||||
returnParts[#returnParts+1] = GetTrainStates()
|
||||
returnParts[#returnParts+1] = GetTrainStatistics()
|
||||
helpers.send_udp(udpAddress,table.concat(returnParts,"\n"),serverIndex)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user