store session to db only after ended, allow test runs without writing to db

This commit is contained in:
2022-12-14 17:21:24 +01:00
parent db5123278d
commit 8565ae77cd
5 changed files with 650 additions and 34 deletions

View File

@@ -129,6 +129,15 @@ namespace EscapeRoomEngine.Engine.Runtime.UI
#endregion
#region Measurements
public void StoreMeasurements(Toggle toggle)
{
Measure.Store = toggle.isOn;
}
#endregion
public void ExitGame()
{
StopGame();