Skip to content

Commit

Permalink
csv location fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DGrothe-PhD committed May 16, 2023
1 parent 6c10c0f commit 35b9c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GameResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private void StoreResult()
return;
try
{
fs = new FileStream("gameresults.csv", FileMode.Append);
fs = new FileStream("Resources/gameresults.csv", FileMode.Append);
sw = new StreamWriter(fs);
sw.WriteLine(String.Join(';', name, DateTime.Today.ToString("d"), level, numberOfRows));
sw.Close();
Expand Down
2 changes: 1 addition & 1 deletion src/PointsScored.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace MastermindVariante
{
public class PointsScored
{
private readonly string dateiname = "gameresults.csv";
private readonly string dateiname = "Resources/gameresults.csv";
private string[]? lines;
internal readonly List<Player> Players;

Expand Down

0 comments on commit 35b9c4b

Please sign in to comment.