seed r288 - trunk/examples/lightsoff



Author: hortont
Date: Sat Nov 22 00:41:14 2008
New Revision: 288
URL: http://svn.gnome.org/viewvc/seed?rev=288&view=rev

Log:
Fix playing more than one LO game.


Modified:
   trunk/examples/lightsoff/board.js

Modified: trunk/examples/lightsoff/board.js
==============================================================================
--- trunk/examples/lightsoff/board.js	(original)
+++ trunk/examples/lightsoff/board.js	Sat Nov 22 00:41:14 2008
@@ -92,10 +92,10 @@
 
 function check_won (timeline, light)
 {
+	in_fade = false;
+	
 	if(animating_board)
 		return true;
-		
-	in_fade = false;
 	
 	if(light.get_parent().cleared() && !in_setup)
 	{



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