mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
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;
|
return ENTRANCE_SHUFFLE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user