]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/sbar.qc
I think Jump is a more appropriate key for getting out than Alt Fire. Also don't...
[voretournament/voretournament.git] / data / qcsrc / client / sbar.qc
index fe6e09ecc7aea1865792612a353cf33629848e0d..746861aab913bbf75ddfc25fbd1053c235a27931 100644 (file)
@@ -3076,10 +3076,11 @@ void Sbar_Draw (void)
                else if(gametype == GAME_CTS || gametype == GAME_RACE)\r
                        CSQC_race_hud();\r
 \r
-               // draw canleave message\r
+               // draw the canleave message\r
                if(getstati(STAT_VORE_CANLEAVE))\r
+               if not(spectatee_status) // this message doesn't address spectated players\r
                {\r
-                       s = strcat("^7Press ^3", getcommandkey("secondary fire", "+attack2"), " ^7to exit");\r
+                       s = strcat("^7Press ^3", getcommandkey("jump", "+jump"), " ^7to exit");\r
                        pos_x = bottom_x - stringwidth(s, TRUE, '0 0 0') * 16 / 2;\r
                        pos_y = bottom_y - 120;\r
                        drawcolorcodedstring(pos, s, '16 16 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r