/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-06-25 19:56:26 UTC
  • Revision ID: josh@9ix.org-20130625195626-00x63mxdyk1k6ud7
last fix for saving

Show diffs side-by-side

added added

removed removed

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