]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add patch from Juhu/strafehud-fixes branch: "strafehud: set hud_lasttime even if...
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Fri, 7 Oct 2022 22:59:24 +0000 (00:59 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Fri, 7 Oct 2022 22:59:24 +0000 (00:59 +0200)
qcsrc/client/hud/panel/strafehud.qc

index eba90b8897990756009b9dfceeda62c1e2acc6f3..60877b7b76d34dec2596fa25a6c7ee7c7846b835 100644 (file)
@@ -54,7 +54,7 @@ void HUD_StrafeHUD()
     {
         if(!autocvar_hud_panel_strafehud ||
            (spectatee_status == -1 && (autocvar_hud_panel_strafehud == 1 || autocvar_hud_panel_strafehud == 3)) ||
-           (autocvar_hud_panel_strafehud == 3 && !MUTATOR_CALLHOOK(HUD_StrafeHUD_showoptional))) return;
+           (autocvar_hud_panel_strafehud == 3 && !MUTATOR_CALLHOOK(HUD_StrafeHUD_showoptional))) { hud_lasttime = time; return; }
     }
 
     HUD_Panel_LoadCvars();