Fixed bug where HUD doesn't show up

master
AlmTech Software 5 years ago
parent 58364ba345
commit 54aa3ecd25
  1. 1
      gamemode/engine/derma/lib/cl_menu_fade.lua
  2. 1
      gamemode/engine/derma/menus/menu_charinfo.lua

@ -74,6 +74,7 @@ function fade.transition( parent, dt, start_delay, mid_delay, end_delay, inColor
self.runnedEndFunc = true self.runnedEndFunc = true
self:Remove() -- remove the panel when finished self:Remove() -- remove the panel when finished
Quantum.Debug( "[Fade] Finished transition." ) Quantum.Debug( "[Fade] Finished transition." )
Quantum.Client.IsInMenu = false
end end

@ -21,6 +21,7 @@ function menu.open( dt )
if( !f ) then if( !f ) then
local f = vgui.Create( "DFrame" ) local f = vgui.Create( "DFrame" )
f:SetSize( sw, sh ) f:SetSize( sw, sh )
f:SetTitle("Character Info")
f:SetDraggable( false ) f:SetDraggable( false )
f:MakePopup() f:MakePopup()
f.Paint = function() end f.Paint = function() end

Loading…
Cancel
Save