Skip to content

Commit

Permalink
fix: reset history index
Browse files Browse the repository at this point in the history
  • Loading branch information
znxftw committed Dec 17, 2024
1 parent cf7a3c7 commit a0445d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rudim/Board/History.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public static BoardHistory RestoreBoardHistory()
public static void ClearBoardHistory()
{
Array.Clear(BoardHistories);
_historyIndex = 0;
}

public class BoardHistory
Expand Down

0 comments on commit a0445d4

Please sign in to comment.