fix random puzzle order

This commit is contained in:
2022-12-14 17:50:19 +01:00
parent e24d9b86a9
commit 65b4cecd9b
3 changed files with 11 additions and 5 deletions

View File

@@ -86,8 +86,7 @@ namespace EscapeRoomEngine.Engine.Runtime
Space space;
Passage exit = null;
var puzzle = _puzzles[0];
_puzzles.RemoveAt(0);
var puzzle = _puzzles.PopRandomElement();
do
{