]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Improve autopause for singleplayer/listen and enable it by default
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 19 Mar 2023 16:50:34 +0000 (02:50 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sun, 19 Mar 2023 16:50:34 +0000 (02:50 +1000)
commitd45aa5b71c10426da65a6983462a12e64d975288
treec7cf1bda30f52a83c041a9f1e699900f892e30f5
parent8f86210c7c6e19979696907d6fa3b2916cd9043e
Improve autopause for singleplayer/listen and enable it by default

This will pause if all clients are in menu/console/chat.  It considers
spectators because otherwise they cannot join the match if the current
player(s) are in menu/console/chat.

Disables snd_cdautopause by default which will only take effect in
current DP.

Closes #2670
qcsrc/server/main.qc
xonotic-client.cfg
xonotic-server.cfg