[gnome-chess] 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] There is no computer player if engine is not found
- Date: Wed, 8 Jan 2014 01:10:05 +0000 (UTC)
commit a2fa4c71465ea153020e3ccf1562619197285935
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 3814812..009ddb0 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -501,6 +501,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]