gnome-games r8629 - trunk/lightsoff



Author: hortont
Date: Sun Feb  1 05:10:29 2009
New Revision: 8629
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8629&view=rev

Log:
Fixed small bug that throws a warning if you click too quickly on the next/previous arrow.



Modified:
   trunk/lightsoff/board.js.in

Modified: trunk/lightsoff/board.js.in
==============================================================================
--- trunk/lightsoff/board.js.in	(original)
+++ trunk/lightsoff/board.js.in	Sun Feb  1 05:10:29 2009
@@ -92,6 +92,9 @@
 {
 	in_fade = false;
 	
+	if(!light.get_parent())
+		return;
+	
 	if(light.get_parent().cleared() && !in_setup && !animating_board)
 	{
 		score.set_value(score.get_value() + 1);



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