Skip to content
Snippets Groups Projects
Commit 133b61f0 authored by dg's avatar dg
Browse files

Fix a bug in the sandworm lair when using shockbolt tiles

git-svn-id: http://svn.net-core.org/repos/t-engine4@3404 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3dd6d727
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ function _M:getTile(name)
self.repo[name] = game.zone:makeEntityByName(game.level, "terrain", name)
e = self.repo[name]
end
if e.force_clone then
if e and e.force_clone then
e = e:clone()
end
return e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment