summaryrefslogtreecommitdiff
path: root/qml/pages/Goban.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/pages/Goban.qml')
-rw-r--r--qml/pages/Goban.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/qml/pages/Goban.qml b/qml/pages/Goban.qml
index 5c86700..c1e81bd 100644
--- a/qml/pages/Goban.qml
+++ b/qml/pages/Goban.qml
@@ -36,7 +36,7 @@ Item {
*/
function start() {
- currentPlayer = true;
+ //currentPlayer = true;
for (var i = 0; i < goban.rows * goban.columns; i++) {
repeater.itemAt(i).remove(false);
@@ -88,6 +88,9 @@ Item {
caseSize = maxWidth;
}
+ console.log("Current player:", ret.current_player);
+ currentPlayer = (ret.current_player === 'W');
+
/*
* Put the initials stones
*/