Permalink
Browse files

Fix error in ListIteratingSystem

  • Loading branch information...
1 parent d6c894b commit 7cb935f621db348b8cb8e99585a776c4c034cc7e @richardlord committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/net/richardlord/ash/tools/ListIteratingSystem.as
@@ -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 );
@@ -71,6 +70,7 @@ package net.richardlord.ash.tools
{
nodeList.nodeRemoved.remove( nodeRemovedFunction );
}
+ nodeList = null;
}
override public function update( time : Number ) : void

0 comments on commit 7cb935f

Please sign in to comment.