Skip to content

Commit

Permalink
Fix error in ListIteratingSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlord committed May 6, 2012
1 parent d6c894b commit 7cb935f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/richardlord/ash/tools/ListIteratingSystem.as
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ package net.richardlord.ash.tools

override public function removeFromGame( game : Game ) : void
{
nodeList = null;
if( nodeAddedFunction != null )
{
nodeList.nodeRemoved.remove( nodeAddedFunction );
Expand All @@ -71,6 +70,7 @@ package net.richardlord.ash.tools
{
nodeList.nodeRemoved.remove( nodeRemovedFunction );
}
nodeList = null;
}

override public function update( time : Number ) : void
Expand Down

0 comments on commit 7cb935f

Please sign in to comment.