summary refs log tree commit diff stats
path: root/Classes
diff options
context:
space:
mode:
Diffstat (limited to 'Classes')
-rwxr-xr-xClasses/ClassicGameMode.m2
-rw-r--r--Classes/JumpGameMode.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/Classes/ClassicGameMode.m b/Classes/ClassicGameMode.m index c925419..46ad337 100755 --- a/Classes/ClassicGameMode.m +++ b/Classes/ClassicGameMode.m
@@ -25,7 +25,7 @@
25 25
26 [super tick:dt]; 26 [super tick:dt];
27 27
28 if (lives == 0) 28 if (lives <= 0)
29 { 29 {
30 [self unscheduleAllSelectors]; 30 [self unscheduleAllSelectors];
31 31
diff --git a/Classes/JumpGameMode.m b/Classes/JumpGameMode.m index 93e05ea..0cf916a 100644 --- a/Classes/JumpGameMode.m +++ b/Classes/JumpGameMode.m
@@ -154,7 +154,7 @@
154 cart.sprite.position = ccp(cart.sprite.position.x, 320 + cart.sprite.boundingBox.size.height/2); 154 cart.sprite.position = ccp(cart.sprite.position.x, 320 + cart.sprite.boundingBox.size.height/2);
155 } 155 }
156 156
157 if (lives == 0) 157 if (lives <= 0)
158 { 158 {
159 [self unscheduleAllSelectors]; 159 [self unscheduleAllSelectors];
160 160