This commit is contained in:
Sander Land committed 2020-07-26 21:55:04 +02:00
1 parent bf0c39c1d5
commit f13d5bba1c
4 files changed
+22 -2

No files matched your search

+2 -2
View File
@@ -11,10 +11,10 @@ from katrain.core.constants import (
HOMEPAGE,
OUTPUT_DEBUG,
OUTPUT_INFO,
PLAYER_AI,
STATUS_ANALYSIS,
STATUS_INFO,
STATUS_TEACHING,
PLAYER_AI,
)
from katrain.core.engine import KataGoEngine
from katrain.core.game_node import GameNode
@@ -55,7 +55,7 @@ class Game:
self.root = move_tree
self.komi = self.root.komi
handicap = int(self.root.get_property("HA", 0))
if handicap and not self.root.placements:
if handicap >= 2 and not self.root.placements:
self.root.place_handicap_stones(handicap)
else:
board_size = katrain.config("game/size")