OpenComputers
OpenComputers copied to clipboard
shell.setPath() doesn't work
lua> shell.setPath("/bin") lib/shell.lua:87: calling 'gmatch' on bad self (string expected, got table)
the line is: for p in string:gmatch(value, "[^:]") do it should be: for p in string.gmatch(value, "[^:]+") do (the + is there because otherwise it returns individual letters)