Move attributes to game protocol

This commit is contained in:
Guilherme Werner 2024-01-22 11:49:28 -03:00
parent 67e0cd8809
commit b56eff7783
2 changed files with 7 additions and 3 deletions

View file

@ -126,9 +126,6 @@ export default class Epic extends Core {
throw new Error('Server not found')
}
state.name = desiredServer.attributes.CUSTOMSERVERNAME_s
state.map = desiredServer.attributes.MAPNAME_s
state.password = desiredServer.attributes.SERVERPASSWORD_b
state.numplayers = desiredServer.totalPlayers
state.maxplayers = desiredServer.settings.maxPublicPlayers