From d5a05cbf0d9c39d9ab8ad3054ecfc83716fa2d84 Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Sat, 9 Sep 2023 02:38:11 -0400 Subject: [PATCH] Fix error --- lua/starfall/editor/tabhandlers/tab_helper.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/starfall/editor/tabhandlers/tab_helper.lua b/lua/starfall/editor/tabhandlers/tab_helper.lua index 936ec5fcb..c969679d9 100644 --- a/lua/starfall/editor/tabhandlers/tab_helper.lua +++ b/lua/starfall/editor/tabhandlers/tab_helper.lua @@ -71,6 +71,7 @@ end ----------------------- function PANEL:Init() --That's init of VGUI like other PANEL:Methods(), separate for each tab local html = vgui.Create("DHTML", self) + self.html = html local backButton = vgui.Create("StarfallButton", html) backButton:SetText("") @@ -101,7 +102,6 @@ function PANEL:Init() --That's init of VGUI like other PANEL:Methods(), separate html:SetMouseInputEnabled(true) if TabHandler.htmldata then html:SetHTML(TabHandler.htmldata) end htmlSetup(nil, self) - self.html = html end function PANEL:RefreshHelper()