]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'terencehill/instagib_powerup_distribution' into 'master'
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 21 May 2023 01:53:50 +0000 (01:53 +0000)
committerbones_was_here <bones_was_here@xonotic.au>
Sun, 21 May 2023 01:53:50 +0000 (01:53 +0000)
Improve instagib powerup replacement algorithm + Extralife pickup sound fix

See merge request xonotic/xonotic-data.pk3dir!1174

qcsrc/client/hud/panel/scoreboard.qc

index 8d6fcee5633a2a877deab46c192be9fe461fd9f8..2f6bc474c5f1d1dcd7080f6cca455450877cd02f 100644 (file)
@@ -2322,9 +2322,9 @@ void Scoreboard_Draw()
        if (scoreboard_ui_enabled == 2)
        {
                if (scoreboard_selected_team)
-                       str = sprintf(_("^7Press ^3%s^7 to join the selected team"), getcommandkey(_("jump"), "+jump"));
+                       str = sprintf(_("^7Press ^3%s^7 to join the selected team"), translate_key("SPACE"));
                else
-                       str = sprintf(_("^7Press ^3%s^7 to auto-select a team and join"), getcommandkey(_("jump"), "+jump"));
+                       str = sprintf(_("^7Press ^3%s^7 to auto-select a team and join"), translate_key("SPACE"));
                drawcolorcodedstring(pos + '0.5 0 0' * (panel_size.x - stringwidth(str, true, sb_gameinfo_detail_fontsize)), str, sb_gameinfo_detail_fontsize, panel_fg_alpha, DRAWFLAG_NORMAL);
 
                pos.y += sb_gameinfo_detail_fontsize.y + hud_fontsize.y * 0.3;