X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fmenu.qc;fp=qcsrc%2Fmenu%2Fmenu.qc;h=7796cbccaa1de271031755ca8f1d7a6316aaa647;hb=98850c65fbf265aba59221f55e883b49ae12f227;hp=300be79d87f282359f9d42f7bce7d6409639b4a3;hpb=f3cb6bcbccd14720ba46888c078bc69107390c50;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/menu.qc b/qcsrc/menu/menu.qc index 300be79d8..7796cbcca 100644 --- a/qcsrc/menu/menu.qc +++ b/qcsrc/menu/menu.qc @@ -126,7 +126,8 @@ void UpdateConWidthHeight(float w, float h, float p) { if (w != vidwidth_s || h != vidheight_s || p != vidpixelheight_s) { - if (updateConwidths(w, h, p)) localcmd(sprintf("\nexec %s\n", cvar_string("menu_font_cfg"))); + if (updateConwidths(w, h, p) && menuNotTheFirstFrame) + localcmd(sprintf("\nexec %s\n", cvar_string("menu_font_cfg"))); vidwidth_s = w; vidheight_s = h; vidpixelheight_s = p;