From 64dec753e7a6594a8b68f7978773e80353d8e869 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 25 Feb 2022 11:13:35 +0100 Subject: Enable PGN save (slow for now so do not use it). --- src/game_tab/Game.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/game_tab/Game.cpp') diff --git a/src/game_tab/Game.cpp b/src/game_tab/Game.cpp index b9181a9..2b2955a 100644 --- a/src/game_tab/Game.cpp +++ b/src/game_tab/Game.cpp @@ -139,5 +139,8 @@ std::string Game::GetPGN() { } pgn += moves->GetPGN(); } + pgn += " " + result; return (pgn); -} \ No newline at end of file +} + +void Game::SetResult(std::string result) { this->result = result; } -- cgit v1.2.3