From b6d407179f95bba453f2f140aef38448fa5495fc Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Fri, 12 Aug 2011 20:50:25 +0200 Subject: [PATCH] Small fixes --- firmware/l0dable/jump.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/l0dable/jump.c b/firmware/l0dable/jump.c index 714a9ef..5532745 100644 --- a/firmware/l0dable/jump.c +++ b/firmware/l0dable/jump.c @@ -92,7 +92,6 @@ void ram(void) { long frame_count = 0; init_game(); - randomInit(); while(1) { frame_count++; @@ -107,12 +106,13 @@ void ram(void) { lcdDisplay(); if(!game.running) { - if(!gameover_scene()) + if(!gameover_scene()){ + delayms_queue_plus(10,1); return; + } init_game(); } - - delayms(12); + delayms_queue_plus(12,0); } }