mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-28 03:55:23 +09:00
Buttons added
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user