[gnome-games/gsoc-seed-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/gsoc-seed-games] [same-gnome-clutter] Reset score on new game.
- Date: Sun, 12 Jul 2009 03:27:00 +0000 (UTC)
commit 9c74aa6defcf8663b0746aed41379c566af81596
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]