[gnome-robots/wip/libgames-support: 41/41] Remove extra call to show_scores



commit 8b32128ba7e536210367794770f26aadc13e998d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Sep 20 14:46:42 2015 -0500

    Remove extra call to show_scores
    
    This causes the scores dialog to appear twice if there is a high score.
    Also, we don't want to open the dialog at all if there is no high score.

 src/game.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/game.c b/src/game.c
index 0bcf986..1b2de04 100644
--- a/src/game.c
+++ b/src/game.c
@@ -504,7 +504,6 @@ timeout_cb (void *data)
     if (endlev_counter >= DEAD_DELAY) {
       if (score > 0) {
         log_score (score);
-        show_scores ();
       }
       start_new_game ();
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]