From 889c3cec94882a6d2d7aaee8d5cdfb92dbb8d584 Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Wed, 3 May 2023 22:28:37 -0400 Subject: [PATCH] Don't share liberties with the UI I'm currently not able to calculate them, so I've set them back to None --- kifu/kifu-core/src/ui/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kifu/kifu-core/src/ui/types.rs b/kifu/kifu-core/src/ui/types.rs index 2257d80..027f8db 100644 --- a/kifu/kifu-core/src/ui/types.rs +++ b/kifu/kifu-core/src/ui/types.rs @@ -76,7 +76,7 @@ impl From<&Board> for BoardElement { .map(|column| match board.stone(&Coordinate { column, row }) { Some(color) => IntersectionElement::Filled(StoneElement { jitter: Jitter { x: 0, y: 0 }, - liberties: Some(0), + liberties: None, color, }), None => IntersectionElement::Empty(Request::PlayStoneRequest(