/traderous

To get this branch, use:
bzr branch http://9ix.org/bzr/traderous

« back to all changes in this revision

Viewing changes to group.lua

  • Committer: Josh C
  • Date: 2013-05-05 17:28:53 UTC
  • Revision ID: josh@9ix.org-20130505172853-j6jm7k7ng0tgkyo0
pew pew!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
local origRemove = Group.remove
3
 
 
4
 
function Group:remove(sprite)
5
 
   if sprite.onRemove then
6
 
      sprite:onRemove()
7
 
   end
8
 
 
9
 
   origRemove(self, sprite)
10
 
end
 
 
b'\\ No newline at end of file'