Skip to content

Commit

Permalink
ActionsTest: Modify ActionDelayTime due to #17. This opens #16
Browse files Browse the repository at this point in the history
Save when CCDelayTime is active - you'll got issues after loading.
  • Loading branch information
psineur committed Jan 19, 2012
1 parent 3fb852f commit 78b9ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ActionsTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ -(id) init
[self alignSpritesLeft:1];

id move = [CCMoveBy actionWithDuration:1 position:ccp(150,0)];
id action = [CCSequence actions: move, [CCDelayTime actionWithDuration:2], move, nil];
id action = [CCSequence actions: move, [CCDelayTime actionWithDuration:2], [move copy], nil];

[grossini runAction:action];

Expand Down

0 comments on commit 78b9ea2

Please sign in to comment.