diff options
author | chai <chaifix@163.com> | 2019-01-23 21:01:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-23 21:01:30 +0800 |
commit | 7095218ad1cf958d4fc2f20d848190ea6cd9dd8c (patch) | |
tree | 70baae15e471f0188fcc6b11a26d93bfd8e86b30 /Source/Asura.Framework/Filesystem/path_loader.lua | |
parent | 4c5caaca408f52b6b14e4ba63bd2c87fa8cb61da (diff) |
*misc
Diffstat (limited to 'Source/Asura.Framework/Filesystem/path_loader.lua')
-rw-r--r-- | Source/Asura.Framework/Filesystem/path_loader.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Asura.Framework/Filesystem/path_loader.lua b/Source/Asura.Framework/Filesystem/path_loader.lua index b9112df..c62be96 100644 --- a/Source/Asura.Framework/Filesystem/path_loader.lua +++ b/Source/Asura.Framework/Filesystem/path_loader.lua @@ -2,10 +2,9 @@ local PathLoader = AsuraEngine.Loader.New("path") local PathManager = require "Path/PathManager" function PathLoader.Load(asset) - if asset.type ~= "path" then - return nil - end - + if asset.type ~= "path" then + return nil + end end return Path
\ No newline at end of file |