diff options
author | chai <chaifix@163.com> | 2019-01-31 18:38:35 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-31 18:38:35 +0800 |
commit | 2ec55fd974a63b705a4777c256d2222c874fa043 (patch) | |
tree | 48f1fea59ee9fc713a28a9aac3f05b98dc5ae66f /Samples/Hello/loaders/tiledmap_loader.lua | |
parent | c581dfbf1e849f393861d15e82aa6446c0c1c310 (diff) |
*SDL project
Diffstat (limited to 'Samples/Hello/loaders/tiledmap_loader.lua')
-rw-r--r-- | Samples/Hello/loaders/tiledmap_loader.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Samples/Hello/loaders/tiledmap_loader.lua b/Samples/Hello/loaders/tiledmap_loader.lua index 5c0e9ef..8bc06d4 100644 --- a/Samples/Hello/loaders/tiledmap_loader.lua +++ b/Samples/Hello/loaders/tiledmap_loader.lua @@ -2,12 +2,12 @@ local TiledMapLoader = Class() local TiledMapManager = require("/managers/TiledMapManager") function TiledMapLoader:Load(asset, tiledmap) - if asset.type ~= "tiledmap" then - return nil - end - - - + if asset.type ~= "tiledmap" then + return nil + end + + + end return TiledMapLoader
\ No newline at end of file |