1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 12:10:30 +00:00

Add important leading /

Fixes #1094
This commit is contained in:
Wojbie 2022-05-10 22:30:10 +02:00
parent d9e75d7c47
commit a7536ea4fa

View File

@ -431,7 +431,7 @@ local tMenuFuncs = {
file.write(runHandler:format(sTitle, table.concat(tLines, "\n"), "@" .. fs.getName(sPath))) file.write(runHandler:format(sTitle, table.concat(tLines, "\n"), "@" .. fs.getName(sPath)))
end) end)
if ok then if ok then
local nTask = shell.openTab(sTempPath) local nTask = shell.openTab("/" .. sTempPath)
if nTask then if nTask then
shell.switchTab(nTask) shell.switchTab(nTask)
else else