feat: index gfx according to their tagged action
This commit is contained in:
parent
e30ab97e96
commit
5d157e5251
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@ function GFX:new(world, x, y, z, spritename, creator, blockProcess, tag)
|
|||
self.blockProcess = blockProcess or false
|
||||
self.tag = tag or ""
|
||||
|
||||
if (not utils.string.isEmpty(self.tag)) then
|
||||
self:setIndexName(self.tag)
|
||||
end
|
||||
|
||||
self.direction = 1
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue