Refactoring

This commit is contained in:
Masahiko AMANO
2022-03-03 18:04:49 +03:00
parent 4f2b5cd940
commit 542667699e
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ namespace MineSweeper
public int loses { get; set; } = 0;
}
private record Root(List<PlayerData> players);
private Root root;
private readonly Root root;
public Database()
{
path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MineSweeper by H1K0");