Fixed a few inconsitancy

This commit is contained in:
Cooldude2606 committed 2018-05-20 19:04:24 +01:00
1 parent 7ccf1083d2
commit 28c6610a20
4 files changed
+9 -12

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ require_return_err = false -- Set to false when removing files; set to true for
_require = require
require = function(path)
local _path = path
if not string.sub(path,1) == '/' then path = '/'..path end
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)}