diff --git a/Assets/Engine/Runtime/Room.cs b/Assets/Engine/Runtime/Room.cs index 51a27fc..24caa69 100644 --- a/Assets/Engine/Runtime/Room.cs +++ b/Assets/Engine/Runtime/Room.cs @@ -35,6 +35,11 @@ namespace EscapeRoomEngine.Engine.Runtime Logger.Log($"Skipping {this}...", LogType.PuzzleFlow); _puzzles.ForEach(puzzle => puzzle.PuzzleState.Solve()); + + if (_puzzles.Count == 0) + { + exit.fromOut.DoorState.Unlock(); + } } internal void AddPuzzle(PuzzleModule puzzle)