aboutsummaryrefslogtreecommitdiff
path: root/src/uci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uci.cpp')
-rw-r--r--src/uci.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uci.cpp b/src/uci.cpp
index 812a0cd..6e30014 100644
--- a/src/uci.cpp
+++ b/src/uci.cpp
@@ -96,6 +96,8 @@ Game initBoard(
uint64_t key = GenerateZobristKey(&g);
g.history.push_back(key);
+
+ g.hash = key;
return g;
};
static void PrintBitboard(uint64_t bb, const std::string &name) {