X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmutators%2Fmutator%2Fitemstime%2Fitemstime.qc;h=1252c34ed75c3fab38ab84286146186c99931bf7;hp=3fe9de6d7d5f849ea9356d04b6930a59caf76769;hb=c039d054a46888048d214000273ccfc63e4611b6;hpb=e424ba544c41fc40b241b17bd7c1d9c2fc930705 diff --git a/qcsrc/common/mutators/mutator/itemstime/itemstime.qc b/qcsrc/common/mutators/mutator/itemstime/itemstime.qc index 3fe9de6d7d..1252c34ed7 100644 --- a/qcsrc/common/mutators/mutator/itemstime/itemstime.qc +++ b/qcsrc/common/mutators/mutator/itemstime/itemstime.qc @@ -307,7 +307,7 @@ void HUD_ItemsTime() if (count == 0) return; - HUD_Panel_UpdateCvars(); + HUD_Panel_LoadCvars(); vector pos, mySize; pos = panel_pos; @@ -332,7 +332,7 @@ void HUD_ItemsTime() { if (autocvar__hud_configure) if (hud_configure_menu_open != 2) - HUD_Panel_DrawBg(1); // also draw the bg of the entire panel + HUD_Panel_DrawBg(); // also draw the bg of the entire panel // reduce panel to avoid spacing items if (itemstime_size.x / itemstime_size.y < ar) @@ -371,7 +371,7 @@ void HUD_ItemsTime() } HUD_Scale_Enable(); - HUD_Panel_DrawBg(1); + HUD_Panel_DrawBg(); float row = 0, column = 0; bool item_available;