Buttons added

This commit is contained in:
Cooldude2606 committed 2017-12-11 20:07:06 +00:00
1 parent 7e0caa0922
commit a4eeef1d1a
4 files changed
+83 -6

No files matched your search

+3 -4
View File
@@ -11,11 +11,10 @@ local Gui = {}
local Gui_data = {}
-- this is to enforce the read only propetry of the gui
function Gui._add_data(key,value)
function Gui._add_data(key,value_key,value)
if game then return end
if not Gui_data[key] then Gui_data[key] = {value}
else table.insert(Gui_data[key],value)
end
if not Gui_data[key] then Gui_data[key] = {} end
Gui_data[key][value_key] = value
end
function Gui._get_data(key) return Gui_data[key] end