/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-07 22:24:32 UTC
  • Revision ID: josh@9ix.org-20130507222432-74d3ul1p8ffq40s5
only fire if cursor is in target area.  change cursor to reflect this.

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'