[gnome-chess] Set human_player to null when there are two humans



commit bb417545669a9feb117e5b7d041bf2895ef1c024
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Sun May 12 21:50:00 2013 -0500

    Set human_player to null when there are two humans

 src/gnome-chess.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 640d465..78901aa 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -434,6 +434,7 @@ public class Application : Gtk.Application
         if (black_level == null)
             black_level = "normal";
 
+        human_player = null;
         opponent = null;
         if (opponent_engine != null)
         {


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