[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 04/13: [gnugo int] Fix bug: On -l/--infile, inhibit first move if
From: |
Thien-Thi Nguyen |
Subject: |
[elpa] 04/13: [gnugo int] Fix bug: On -l/--infile, inhibit first move if game over. |
Date: |
Mon, 21 Apr 2014 21:32:08 +0000 |
ttn pushed a commit to branch master
in repository elpa.
commit 80d236677170a00e7dd493fc5d73566b5a8656ea
Author: Thien-Thi Nguyen <address@hidden>
Date: Sun Apr 20 17:50:20 2014 +0200
[gnugo int] Fix bug: On -l/--infile, inhibit first move if game over.
Omission from 2014-04-19, "Fix bug:
Ensure gametree sync for -l/--infile".
* packages/gnugo/gnugo.el (gnugo): ...here.
---
packages/gnugo/gnugo.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index e3c290b..81a094d 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -2557,7 +2557,8 @@ See `gnugo-board-mode' for a full list of commands."
u
g)))
(run-hooks 'gnugo-start-game-hook)
- (when (string= g (gnugo-current-player))
+ (when (and (not (gnugo-get :game-over))
+ (string= g (gnugo-current-player)))
(gnugo-refresh t)
(gnugo-get-move g))))))
- [elpa] branch master updated (1905244 -> a1fe7f0), Thien-Thi Nguyen, 2014/04/21
- [elpa] 01/13: [gnugo int] Add abstraction: gnugo--prop<-color, Thien-Thi Nguyen, 2014/04/21
- [elpa] 03/13: [gnugo int] Fix bug: On -l/--infile, don't set :last-mover., Thien-Thi Nguyen, 2014/04/21
- [elpa] 04/13: [gnugo int] Fix bug: On -l/--infile, inhibit first move if game over.,
Thien-Thi Nguyen <=
- [elpa] 05/13: [gnugo] Fix bug: DTRT for :last-user-bpos in undo-one-move ME-NEXT., Thien-Thi Nguyen, 2014/04/21
- [elpa] 06/13: [gnugo] Reduce modifier key bouncing for "quick peek" frolics., Thien-Thi Nguyen, 2014/04/21
- [elpa] 09/13: [gnugo] Validate position arg of GTP commands ‘undo’, ‘gg-undo’., Thien-Thi Nguyen, 2014/04/21
- [elpa] 08/13: [gnugo int] Add abstraction: gnugo--mem-with-played-stone, Thien-Thi Nguyen, 2014/04/21
- [elpa] 07/13: [gnugo int] Add abstraction: gnugo--q/ue, Thien-Thi Nguyen, 2014/04/21
- [elpa] 10/13: [gnugo] Internalize ‘g nugo-magic-undo’., Thien-Thi Nguyen, 2014/04/21
- [elpa] 11/13: [gnugo int] Simplify towards-root loop termination check., Thien-Thi Nguyen, 2014/04/21
- [elpa] 13/13: [gnugo int] Move ‘gnug o-position’ call down-chain., Thien-Thi Nguyen, 2014/04/21
- [elpa] 12/13: [gnugo int] Centralize some "No stone at POS" errors., Thien-Thi Nguyen, 2014/04/21
- [elpa] 02/13: [gnugo] On SGF load, leave cursor at last user board position., Thien-Thi Nguyen, 2014/04/21