]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Fix changing of player name during a game
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 9 Feb 2024 08:12:34 +0000 (18:12 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Fri, 9 Feb 2024 10:17:54 +0000 (20:17 +1000)
commit12ab81bae4a39b52e91b34cc35874fb2100bb5f9
treef6457d2a84ab6b7ba9f0ffff4ac95526d65f0f0e
parente73dfbb6367cb7bffe644e0eb070c0d31fa2e824
Fix changing of player name during a game

Name changes applied when connecting or when the map changed, but not
during the game.
I broke it in 74b49d6e5412af206448119963e0a4b3617e8ca4 by not
noticing the user-visible name of the cvar is used to determine which
command (if any) is sent.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cl_cmd.c
cl_main.c