[gnome-games] Start clock before adding penalty for hint



commit 0af4a347376cb60c416d4ce1a06f13ee568b366b
Author: Robert Ancell <robert ancell gmail com>
Date:   Tue Apr 27 11:00:11 2010 +1000

    Start clock before adding penalty for hint

 mahjongg/mahjongg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mahjongg/mahjongg.c b/mahjongg/mahjongg.c
index 52f87e0..f3bcc9e 100644
--- a/mahjongg/mahjongg.c
+++ b/mahjongg/mahjongg.c
@@ -861,8 +861,8 @@ hint_callback (void)
   timer = g_timeout_add (250, (GSourceFunc) hint_timeout, NULL);
 
   /* 30s penalty */
-  games_clock_add_seconds (GAMES_CLOCK (chrono), 30);
   clock_start ();
+  games_clock_add_seconds (GAMES_CLOCK (chrono), 30);
 }
 
 static void



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