Small fixes
This commit is contained in:
parent
fb9bef02ff
commit
b6d407179f
|
@ -92,7 +92,6 @@ void ram(void) {
|
||||||
|
|
||||||
long frame_count = 0;
|
long frame_count = 0;
|
||||||
init_game();
|
init_game();
|
||||||
randomInit();
|
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
frame_count++;
|
frame_count++;
|
||||||
|
@ -107,12 +106,13 @@ void ram(void) {
|
||||||
lcdDisplay();
|
lcdDisplay();
|
||||||
|
|
||||||
if(!game.running) {
|
if(!game.running) {
|
||||||
if(!gameover_scene())
|
if(!gameover_scene()){
|
||||||
|
delayms_queue_plus(10,1);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
init_game();
|
init_game();
|
||||||
}
|
}
|
||||||
|
delayms_queue_plus(12,0);
|
||||||
delayms(12);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue