From fcb3198cda7cad95cec4309517d327edff25e6e5 Mon Sep 17 00:00:00 2001 From: AlmTech Date: Thu, 31 Oct 2019 21:42:49 +0100 Subject: [PATCH] Added comments --- gamemode/engine/derma/lib/cl_menu_dialogueBox.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua b/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua index ba12b8d..d1daac5 100644 --- a/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua +++ b/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua @@ -18,7 +18,7 @@ function log.createinfobox( title, text, parent ) box:SetSize( 775 * scale, 200 * scale ) box.Paint = function( self ) theme.blurpanel( self, Color( 0, 0, 0, 0 ) ) end box.w, box.h = box:GetSize() - box:SetPos( fw/2 - box.w/2, fh*0.8 - box.h/2 ) + box:SetPos( fw/2 - box.w/2, fh*0.8 - box.h/2 ) -- fix this bug pls box.x, box.y = box:GetSize() local header = vgui.Create( "DLabel", parent )