fix end terminal pluralisation
This commit is contained in:
@@ -18,7 +18,7 @@ namespace EscapeRoomEngine.Engine.Runtime.Measurements
|
||||
/// </summary>
|
||||
public static bool Store { get; set; }
|
||||
public static bool PreferLessPlayed => GameControl.Instance.preferLessPlayed.Value;
|
||||
public static int PuzzlesSolved => _currentSession.PuzzlesSolved.Count;
|
||||
public static int PuzzlesSolved { get; private set; }
|
||||
|
||||
private static Dictionary<int, PuzzleMeasurement> _runningMeasurements;
|
||||
private static Session _currentSession;
|
||||
@@ -97,6 +97,7 @@ namespace EscapeRoomEngine.Engine.Runtime.Measurements
|
||||
PuzzleStorage.Instance.EndMeasurement(_currentSession, puzzle, measurement);
|
||||
}
|
||||
_runningMeasurements.Remove(puzzle.Id);
|
||||
PuzzlesSolved++;
|
||||
|
||||
Logger.Log($"Solved {puzzle} with measurement {measurement}", LogType.Measuring);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user