Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vBot/ingame_editor.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
setDefaultTab("Tools")
-- allows to test/edit bot lua scripts ingame, you can have multiple scripts like this, just change storage.ingame_lua
UI.Button("Ingame script editor", function(newText)
UI.MultilineEditorWindow(storage.ingame_hotkeys or "", {title="Hotkeys editor", description="You can add your custom scrupts here"}, function(text)
UI.MultilineEditorWindow(storage.ingame_hotkeys or "", {title="Hotkeys editor", description="You can add your custom scripts here"}, function(text)
storage.ingame_hotkeys = text
reload()
end)
Expand All @@ -20,4 +20,4 @@ UI.Button("Ingame script editor", function(newText)
end
end

UI.Separator()
UI.Separator()