[gnome-games] [same-gnome-clutter] Reset score on new game.
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] [same-gnome-clutter] Reset score on new game.
- Date: Thu, 16 Jul 2009 22:33:47 +0000 (UTC)
commit c889a3966ead6a167349777bf5e7be5b007d5c1f
Author: Tim Horton <hortont424 gmail com>
Date: Sat Jul 11 23:26:39 2009 -0400
[same-gnome-clutter] Reset score on new game.
same-gnome-clutter/src/board.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/same-gnome-clutter/src/board.js b/same-gnome-clutter/src/board.js
index 15b0856..4086e99 100644
--- a/same-gnome-clutter/src/board.js
+++ b/same-gnome-clutter/src/board.js
@@ -269,6 +269,8 @@ Board = new GType({
if(final_score)
final_score.hide_score();
+ main.current_score = 0;
+
all_lights = [];
for(var x = 0; x < main.tiles_w; x++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]