From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Fri, 7 Oct 2022 22:59:24 +0000 (+0200) Subject: Add patch from Juhu/strafehud-fixes branch: "strafehud: set hud_lasttime even if... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1ce75239a2b34a34357fca713700105b02bcd35d;p=xonotic%2Fxonotic-data.pk3dir.git Add patch from Juhu/strafehud-fixes branch: "strafehud: set hud_lasttime even if the strafehud isn't enabled" --- diff --git a/qcsrc/client/hud/panel/strafehud.qc b/qcsrc/client/hud/panel/strafehud.qc index eba90b889..60877b7b7 100644 --- a/qcsrc/client/hud/panel/strafehud.qc +++ b/qcsrc/client/hud/panel/strafehud.qc @@ -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();