fix entrance rando validation missing edge cases (#3344)
This commit is contained in:
parent
678578823f
commit
25f05e68b3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue