Skip to content

Commit

Permalink
Added a comma to separate pedestal's true/false from Agahnim's.
Browse files Browse the repository at this point in the history
Also, changed a milliseconds check to a total milliseconds check to make sure that there's -some- time, instead of there being 0 milliseconds.
  • Loading branch information
Invariel committed Oct 12, 2019
1 parent 2d19d57 commit 821606b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Time Tracker/TimeRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public String CSVOutput ()
$"{goal}," +
$"{variation}," +
$"{placement}," +
$"{pedestal}" +
$"{pedestal}," +
$"{agahnim}";
}

Expand Down Expand Up @@ -168,7 +168,7 @@ internal void Initialize(string lineOfText)

public Boolean IsValid()
{
return timeTaken.Milliseconds > 0 &&
return timeTaken.TotalMilliseconds > 0 &&
Items > 0 &&
CheckArrayValue(TimeTracker.GameStates, GameState) &&
CheckArrayValue(TimeTracker.SwordStates, SwordState) &&
Expand Down

0 comments on commit 821606b

Please sign in to comment.