mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-26 08:56:54 +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 )
|
||||
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
|
||||
if fs.exists( "/rom/autorun" ) and fs.isDir( "/rom/autorun" ) then
|
||||
|
Loading…
Reference in New Issue
Block a user