feat: dont delete raw.players

This commit is contained in:
CosminPerRam 2024-01-11 02:17:13 +02:00
parent fc2791f2b9
commit 8cb5faefc8
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ export default class valve extends Core {
const sortedPlayers = state.raw.players.sort((a, b) => {
return botProbability(a) - botProbability(b)
})
delete state.raw.players
const numBots = state.raw.numbots || 0
while (state.bots.length < numBots && sortedPlayers.length) {