/traderous

To get this branch, use:
bzr branch http://9ix.org/bzr/traderous
1
2
3
4
5
6
7
8
9
10
11
-- group monkey patch

local origRemove = Group.remove

function Group:remove(sprite)
   if sprite.onRemove then
      sprite:onRemove()
   end

   origRemove(self, sprite)
end