mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 05:43:42 -07:00
fix entrance rando validation missing edge cases (#3344)
This commit is contained in:
parent
678578823f
commit
25f05e68b3
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue