mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-27 09:24:47 +00:00
Update startup.lua
Removed code better implemented by @Wilma456
This commit is contained in:
parent
157bc01be5
commit
9472d30dfc
@ -225,14 +225,6 @@ if turtle then
|
|||||||
shell.setCompletionFunction( "rom/programs/turtle/unequip.lua", completeUnequip )
|
shell.setCompletionFunction( "rom/programs/turtle/unequip.lua", completeUnequip )
|
||||||
end
|
end
|
||||||
|
|
||||||
if commands then
|
|
||||||
local function completExec( shell, nIndex, sText )
|
|
||||||
if nIndex == 1 then
|
|
||||||
return completeMultipleChoice( sText, commands.list() )
|
|
||||||
end
|
|
||||||
end
|
|
||||||
shell.setCompletionFunction( "rom/programs/command/exec.lua", completExec )
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Run autorun files
|
-- Run autorun files
|
||||||
if fs.exists( "/rom/autorun" ) and fs.isDir( "/rom/autorun" ) then
|
if fs.exists( "/rom/autorun" ) and fs.isDir( "/rom/autorun" ) then
|
||||||
|
Loading…
Reference in New Issue
Block a user