]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
MOTD centerprint fixes / changes:
authorterencehill <piuntn@gmail.com>
Fri, 8 Mar 2013 20:56:15 +0000 (21:56 +0100)
committerterencehill <piuntn@gmail.com>
Fri, 8 Mar 2013 21:01:44 +0000 (22:01 +0100)
commite27da55c1e8450a98b752586c55c828667ce9758
tree48b3eb778034cf0d89d02afbb2430641ee51e5c2
parent9fd3c7f5357171ffdb2efb56e862abd67fd5dd16
MOTD centerprint fixes / changes:

* Kill initial MOTD centerprint (that appears on server connection) when we know it's showing (in PrintWelcomeMessage()), rather than doing it blindly every time the player joins the game: it fixes MOTD never expiring in Arena.
* Info button now instantly hides initial MOTD.
* If player pressed the info button to see the MOTD and immediately joined the game then don't care, just let the MOTD fade away normally (in 2 seconds); killing the MOTD as before caused the MOTD to pop up again after 2 seconds fading away
qcsrc/server/cl_client.qc
qcsrc/server/command/cmd.qc
qcsrc/server/defs.qh