Closed L-as closed 5 years ago
Line 2353: local avgTeam1Skill, avgTeam2Skill = hiveSkill[1]/curMaxPlayers, hiveSkill[2]/curMaxPlayers
needs to be something like:
local avgTeam1Skill, avgTeam2Skill = hiveSkill[1]/players[1] > 0 and players[1] or 1, hiveSkill[2]/players[2] > 0 and players[2] or 1
Currently the team hiveskill is divided by the max amount of players of either team.
Example file: LastRoundStats.json
The entire game aliens had nearly 300 skill more, yet it was not recorded like that.