summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/Filesystem/path_loader.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-27 01:26:36 +0800
committerchai <chaifix@163.com>2019-01-27 01:26:36 +0800
commit6c8788ed76e1ead173fdeb51caaa43d538fcfe21 (patch)
tree4ec71c3aca07d58d96574671f83f9750f901cb11 /Source/Asura.Framework/Filesystem/path_loader.lua
parent409262a6a26972770ba64728a60d45dd2d9fb752 (diff)
*misc
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