summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/filesystem/path_loader.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura.Framework/filesystem/path_loader.lua')
-rw-r--r--Source/Asura.Framework/filesystem/path_loader.lua11
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/Asura.Framework/filesystem/path_loader.lua b/Source/Asura.Framework/filesystem/path_loader.lua
index c62be96..8618c03 100644
--- a/Source/Asura.Framework/filesystem/path_loader.lua
+++ b/Source/Asura.Framework/filesystem/path_loader.lua
@@ -1,10 +1,9 @@
-local PathLoader = AsuraEngine.Loader.New("path")
-local PathManager = require "Path/PathManager"
+require "Path/PathManager"
-function PathLoader.Load(asset)
+local loader = AsuraEngine.Loader.New("path")
+
+function loader.Load(asset)
if asset.type ~= "path" then
return nil
end
-end
-
-return Path \ No newline at end of file
+end \ No newline at end of file