diff --git a/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua b/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua index d1daac5..dca121d 100644 --- a/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua +++ b/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua @@ -18,8 +18,8 @@ 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 ) -- fix this bug pls - box.x, box.y = box:GetSize() + box:SetPos( fw/2 - box.w/2, fh*0.8 - box.h/2 ) + box.x, box.y = box:GetPos() local header = vgui.Create( "DLabel", parent ) header:SetText( title )