Merge pull request 'main' (#19) from CiscOH/Bastion:main into main

Reviewed-on: Bastion/Bastion#19
pull/1/head
4n0n 1 year ago
commit a22aa67d2a
  1. 2
      src/_bastion.lua

@ -40,7 +40,7 @@ local function Load(dir)
for i = 1, #files do for i = 1, #files do
local file = files[i] local file = files[i]
if file:sub(-4) == ".lua" or file:sub(-5) == '.luac' then if file:sub(-4) == ".lua" or file:sub(-5) == '.luac' then
return Bastion:Require(dir .. file:sub(1, -5)) Bastion:Require(dir .. file:sub(1, -5))
end end
end end
end end

Loading…
Cancel
Save