]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud.qc
Make so that hud_panel_itemstime / g_waypointsprite_itemstime set to 2 will show...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud.qc
index 2c0580e7bfa176975bf810f85afcec193ba907d3..377480443c70b1a0901dd729ca20356b5b163989 100644 (file)
@@ -5003,8 +5003,9 @@ void HUD_ItemsTime(void)
 {
        if(!autocvar__hud_configure)
        {
-               if(!autocvar_hud_panel_itemstime) return;
-               if(spectatee_status == 0) return;
+               if not(autocvar_hud_panel_itemstime == 1 && spectatee_status != 0
+               || autocvar_hud_panel_itemstime == 2 && (spectatee_status != 0 || warmup_stage))
+                       return;
 
                ItemsTime_time[0] = getstatf(STAT_ARMOR_LARGE_TIME);
                ItemsTime_time[1] = getstatf(STAT_HEALTH_MEGA_TIME);