From 3877c58b0c438046e3ea086e258e71e012af9cde Mon Sep 17 00:00:00 2001 From: Ciscoh Bellic Date: Tue, 26 Sep 2023 19:57:32 -0400 Subject: [PATCH] Removed return in load(dir) function. it was only loading the first file and no more --- src/_bastion.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_bastion.lua b/src/_bastion.lua index 161bce3..380a865 100644 --- a/src/_bastion.lua +++ b/src/_bastion.lua @@ -40,7 +40,7 @@ local function Load(dir) for i = 1, #files do local file = files[i] 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