Added more verbose to gui loading

This commit is contained in:
Cooldude2606
2018-05-20 18:41:27 +01:00
parent a2f64f2aef
commit 8571a510f7
6 changed files with 15 additions and 8 deletions

View File

@@ -29,6 +29,7 @@ end
function popup.add(obj)
if not is_type(obj,'table') then return end
if not is_type(obj.name,'string') then return end
verbose('Created Popup Gui: '..obj.name)
setmetatable(obj,{__index=popup._popup})
local name = obj.name; obj.name = nil
Gui._add_data('popup',name,obj)