Fixed send size of player entity stats
This commit is contained in:
@@ -240,7 +240,6 @@ function SendGameStats()
|
||||
returnParts[#returnParts + 1] = GetPlayerDeaths()
|
||||
returnParts[#returnParts + 1] = GetPlayerDeathCauses()
|
||||
returnParts[#returnParts + 1] = GetPlayerKills()
|
||||
returnParts[#returnParts + 1] = GetPlayerEntityStats()
|
||||
helpers.send_udp(udpAddress, table.concat(returnParts, "\n"), serverIndex)
|
||||
end
|
||||
end
|
||||
@@ -280,7 +279,10 @@ function SendAll(event)
|
||||
sendIndex = (sendIndex % 10) + 1
|
||||
if sendIndex == 1 then SendProductionStats() end
|
||||
if sendIndex == 2 then SendPollutionStats() end
|
||||
if sendIndex == 3 then SendKillStats() end
|
||||
if sendIndex == 3 then
|
||||
SendKillStats()
|
||||
SendPlayerEntityStats()
|
||||
end
|
||||
if sendIndex == 4 then SendFluidProductionStats() end
|
||||
if sendIndex == 5 then SendBuildStats() end
|
||||
if sendIndex == 6 then
|
||||
|
||||
Reference in New Issue
Block a user