From 672d576f800364e5ca849bc5172c81d6942189fc Mon Sep 17 00:00:00 2001 From: giac-mysten Date: Thu, 22 Aug 2024 11:45:27 +0100 Subject: [PATCH] fix: minor range bug in svg generation Signed-off-by: giac-mysten --- flatland/move/flatland/sources/flatland.move | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatland/move/flatland/sources/flatland.move b/flatland/move/flatland/sources/flatland.move index fabad1b..6e81c8f 100644 --- a/flatland/move/flatland/sources/flatland.move +++ b/flatland/move/flatland/sources/flatland.move @@ -133,7 +133,7 @@ fun random_color(rng: &mut RandomGenerator): Color { } fun random_sides(rng: &mut RandomGenerator): u8 { - rng.generate_u8_in_range(3, 15) + rng.generate_u8_in_range(3, 14) } public fun to_b36(addr: address): String {