From 00f3db4ff9ec5b77dd208dc4f480558bbb07ec8d Mon Sep 17 00:00:00 2001 From: PeaAshMeter Date: Sun, 14 Dec 2025 23:04:41 +0300 Subject: [PATCH] allow loading arbitrary files as FileData --- lib/utils/asset_bundle.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/asset_bundle.lua b/lib/utils/asset_bundle.lua index da4692a..b8e355b 100644 --- a/lib/utils/asset_bundle.lua +++ b/lib/utils/asset_bundle.lua @@ -51,7 +51,7 @@ function AssetBundle.loadFile(path) elseif (ext == "lua") then return require(string.gsub(path, ".lua", "")) end - return nil + return filedata end function AssetBundle.cutExtension(filename)