Private
Public Access
1
0

Fixed send size of player entity stats

This commit is contained in:
Jan Grießhaber
2026-01-06 16:20:45 +01:00
parent a6e503da3d
commit cb2e6fec50
4 changed files with 11 additions and 6 deletions

View File

@@ -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