fix: assetto corsa failing all queries due to undefined (#584)

This commit is contained in:
CosminPerRam 2024-07-07 20:35:08 +03:00 committed by GitHub
parent a5187f70f9
commit 402be8a357
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@ export default class assettocorsa extends Core {
state.password = serverInfo.pass
state.gamePort = serverInfo.port
state.numplayers = serverInfo.clients
state.version = state.raw.serverInfo.poweredBy
state.version = serverInfo.poweredBy
state.raw.carInfo = carInfo.Cars
state.raw.serverInfo = serverInfo