From a0445d4979238251723f848af228afd3c15242cd Mon Sep 17 00:00:00 2001 From: znxftw Date: Tue, 17 Dec 2024 14:30:14 +0530 Subject: [PATCH] fix: reset history index --- Rudim/Board/History.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Rudim/Board/History.cs b/Rudim/Board/History.cs index aa2e3f8..551889e 100644 --- a/Rudim/Board/History.cs +++ b/Rudim/Board/History.cs @@ -31,6 +31,7 @@ public static BoardHistory RestoreBoardHistory() public static void ClearBoardHistory() { Array.Clear(BoardHistories); + _historyIndex = 0; } public class BoardHistory