Added more verbose to gui loading

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

No files matched your search

+1
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)