]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
On client connection, send client cvars only after client has been initialized on...
authorterencehill <piuntn@gmail.com>
Sun, 17 Apr 2022 02:01:22 +0000 (04:01 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 17 Apr 2022 02:01:22 +0000 (04:01 +0200)
commit222b94d2d796e4282af54ed199b6605c73b690f3
tree95c7aaf0472417f58724d2bc128bdf350d940d5d
parent9f8d64e1af8f145060dc78d5c161fa1bde604686
On client connection, send client cvars only after client has been initialized on the server

It fixes issue https://gitlab.com/xonotic/xonstat-go/-/issues/44 that was due to .playerstats_id getting wrongly set to "Player#0" because .playerid was not initialized yet (0)
qcsrc/client/main.qc
qcsrc/common/playerstats.qh
qcsrc/lib/replicate.qh