mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-16 00:24:52 +09:00
Added Sliders
This commit is contained in:
1 parent
0bd4170629
commit
4b3459f20f
7 files changed
+211
-8
No files matched your search
@@ -31,11 +31,9 @@ function Dropdown.new_dropdown(name)
|
||||
if self.dynamic_options then
|
||||
local player = Game.get_player_by_index(element.player_index)
|
||||
local dynamic_options = self.dynamic_options(player,element)
|
||||
local items = element.items
|
||||
for _,v in pairs(dynamic_options) do
|
||||
table.insert(items,v)
|
||||
element.add_item(v)
|
||||
end
|
||||
element.items = items
|
||||
end
|
||||
if self.store then
|
||||
local category = self.categorize and self.categorize(element) or nil
|
||||
|
||||
Reference in new issue
Block a user