Skip to content

Commit ca9e446

Browse files
done actually
1 parent fe2d331 commit ca9e446

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

controller.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ while true do
5656
file.close()
5757

5858
local data = textutils.unserialiseJSON(jsonStr)
59+
local entry = data[selected]
5960

60-
local app = multishell.launch({}, data.cmd)
61-
multishell.setTitle(app, data.name)
61+
local app = multishell.launch({}, entry.cmd)
62+
multishell.setTitle(app, entry.name)
6263
multishell.setFocus(app)
6364
end
6465
showOptions()

0 commit comments

Comments
 (0)