1
0
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:
Wojbie 2017-06-14 03:11:47 +02:00 committed by GitHub
parent 157bc01be5
commit 9472d30dfc

View File

@ -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