From 42a7c5d7e14ea5812c86d8081d7ff07edbcfef2f Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sun, 20 May 2018 20:14:10 +0100 Subject: [PATCH] Verbose Fully Working --- control.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/control.lua b/control.lua index 69d1b1f7..e831cefe 100644 --- a/control.lua +++ b/control.lua @@ -37,9 +37,10 @@ require = function(path) if string.sub(path,1) ~= '/' then path = '/'..path end local _return = {pcall(_require,path)} if not table.remove(_return, 1) then - local __return = {pcall(_require,'/..'..path)} + local __return = {pcall(_require,'/Addons'..path)} if not table.remove(__return, 1) then - verbose('Failed to load: '.._path..' ('.._return[1]..')') + verbose('Failed to load: '.._path..' ('.._return[1]..')') + verbose('Also Attemped: /Addons'..path..' ('..__return[1]..')') if require_return_err then error(unpack(_return)) end else verbose('Loaded: '.._path) return unpack(__return) end else verbose('Loaded: '.._path) end