[gnome-chess/gnome-3-10] There is no computer player if engine is not found
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/gnome-3-10] There is no computer player if engine is not found
- Date: Wed, 8 Jan 2014 00:48:42 +0000 (UTC)
commit b079b1c7b7aed251860fd2d601372505c5be7689
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Jan 7 18:46:58 2014 -0600
There is no computer player if engine is not found
Confusingly, human_player == null means 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 7729b83..f74021c 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -540,6 +540,7 @@ public class Application : Gtk.Application
{
game.black.local_human = true;
game.white.local_human = true;
+ human_player = null;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]