fix entrance rando validation missing edge cases (#3344)

This commit is contained in:
Adam Bird
2023-11-04 17:50:28 -04:00
committed by GitHub
parent 678578823f
commit 25f05e68b3

View File

@@ -1232,6 +1232,11 @@ int ShuffleAllEntrances() {
}
}
// Validate the world one last time to ensure all special conditions are still valid
if (!ValidateWorld(nullptr)) {
return ENTRANCE_SHUFFLE_FAILURE;
}
return ENTRANCE_SHUFFLE_SUCCESS;
}