From 3a4249b2c870874f205c5669a3d089ce03724d73 Mon Sep 17 00:00:00 2001 From: samisalreadytaken <46823719+samisalreadytaken@users.noreply.github.com> Date: Fri, 4 Nov 2022 12:44:22 +0300 Subject: [PATCH] Fix GetFont default parameter Font proportionality should be explicitly stated --- sp/src/game/client/mapbase/vscript_vgui.nut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sp/src/game/client/mapbase/vscript_vgui.nut b/sp/src/game/client/mapbase/vscript_vgui.nut index df0285eb81..8599842d1c 100644 --- a/sp/src/game/client/mapbase/vscript_vgui.nut +++ b/sp/src/game/client/mapbase/vscript_vgui.nut @@ -91,7 +91,7 @@ local _FontTall = {} local DoGetFont = ISurface.DoGetFont <- ISurface.GetFont; local DoGetFontTall = ISurface.GetFontTall; -ISurface.GetFont <- function( name, proportional = false, sch = "" ) +ISurface.GetFont <- function( name, proportional, sch = "" ) { if ( sch in _Schemes ) {