mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-23 07:33:12 +09:00
Fixed Sytax
This commit is contained in:
1 parent
3a5c73f0a0
commit
324ba6ef7a
7 files changed
+12
-12
No files matched your search
@@ -23,7 +23,7 @@ local toolbar = ExpGui.toolbar
|
||||
function toolbar.add_button(name,default_display,default_tooltip,restriction,event)
|
||||
local restriction = restriction or 0
|
||||
if not name then error('Button requires a name') end
|
||||
table.insert(toolbar.buttons,{name,restriction})
|
||||
table.insert(toolbar.buttons,{name=name,restriction=restriction})
|
||||
ExpGui.add_input.button(name,default_display,default_tooltip,event)
|
||||
end
|
||||
--draw the toolbar to the player only showing buttons within their restriction
|
||||
|
||||
Reference in new issue
Block a user