Skip to content

Commit

Permalink
properly revalidate world
Browse files Browse the repository at this point in the history
  • Loading branch information
gymnast86 committed Oct 26, 2023
1 parent 3a9f09b commit 5ba6571
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/entrance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,11 @@ int ShuffleAllEntrances() {
}
}

// Verify one more time that everything is okay
if (!ValidateWorld(nullptr)) {
return ENTRANCE_SHUFFLE_FAILURE;
}

return ENTRANCE_SHUFFLE_SUCCESS;
}

Expand Down

0 comments on commit 5ba6571

Please sign in to comment.