Skip to content

Commit

Permalink
Merge pull request #316 from hewenyuann19930327/patch-1
Browse files Browse the repository at this point in the history
Update CitrusSpritePool.as
  • Loading branch information
gsynuh authored Feb 8, 2017
2 parents dd55a46 + 3b7ab86 commit 5c6cdc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/citrus/objects/CitrusSpritePool.as
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ package citrus.objects
params = { };
params["type"] = "aPoolObject";
var cs : CitrusSprite = node.data = new _poolType(params) as CitrusSprite;
cs.citrus_internal::parentState = this.citrus_internal::state;
cs.citrus_internal::parentScene = this.citrus_internal::scene;
cs.initialize(params);
onCreate.dispatch((node.data as _poolType), params);
scene.view.addArt(cs);
Expand Down Expand Up @@ -71,4 +71,4 @@ package citrus.objects

}

}
}

0 comments on commit 5c6cdc9

Please sign in to comment.