From 58c2688777ffcd58c4e8cafbd62282b556d1a02e Mon Sep 17 00:00:00 2001 From: AlmTech Software Date: Fri, 6 Dec 2019 21:02:01 +0100 Subject: [PATCH] Bug fixes --- gamemode/engine/derma/lib/cl_menu_fade.lua | 2 +- gamemode/engine/derma/menus/menu_character.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gamemode/engine/derma/lib/cl_menu_fade.lua b/gamemode/engine/derma/lib/cl_menu_fade.lua index 9479f41..4ba4cc9 100644 --- a/gamemode/engine/derma/lib/cl_menu_fade.lua +++ b/gamemode/engine/derma/lib/cl_menu_fade.lua @@ -29,7 +29,7 @@ function fade.menuTransition( parent, dt, delay, inColor, isBlur, startFunc, end p:SetPos( 0, 0 ) p.Paint = function( self, w, h ) - if( isBlur ) then theme.renderBlur( self, Lerp( self.frac, 0, 4 ), Lerp( self.frac, 0, 8 ) ) end -- render blur + if( isBlur ) then theme.renderblur( self, Lerp( self.frac, 0, 4 ), Lerp( self.frac, 0, 8 ) ) end -- render blur surface.SetDrawColor( color ) surface.SetAlphaMultiplier( self.frac ) diff --git a/gamemode/engine/derma/menus/menu_character.lua b/gamemode/engine/derma/menus/menu_character.lua index feda349..eaf8a7f 100644 --- a/gamemode/engine/derma/menus/menu_character.lua +++ b/gamemode/engine/derma/menus/menu_character.lua @@ -10,6 +10,7 @@ local menu = {} local snm = Quantum.Client.Menu.GetAPI( "net" ) local page = Quantum.Client.Menu.GetAPI( "page" ) local theme = Quantum.Client.Menu.GetAPI( "theme" ) +local fade = Quantum.Client.Menu.GetAPI( "fade" ) local resScale = Quantum.Client.ResolutionScale local sw, sh = ScrW(), ScrH()