Vaults don't always respect the bounds of vault areas when spawning
Created by: Probe1
Description of issue
I removed a 60x60 chunk of vault10 on metaclubs z6. While testing my new area inside the 60x60 bounds, a syndicate vault spawned directly below it. The center of the vault was inside vault10 area but the top of it was well outside it and deleted a fair bit of my structure.
Difference between expected and actual behavior
When spawning a vault check to see if the edges are within bounds and to retry if not. Didn't check, spawned the top of a vault out of the vault10 area.
Steps to reproduce
Man this is such a bitch to reproduce that if I hadn't seen it happen while testing it wouldn't have been seen at all. Try deleting all vault areas and mapping in an area that is too small to fit a vault. That will probably provide a reproducible environ.
Specific information for locating
Length of time in which bug has been known to occur
Please check whatever applies. More checkboxes checked increase your chances of not being yelled at by every contributor.
- Issue could be reproduced at least once
- Issue could be reproduced by different players
- Issue could be reproduced in multiple rounds
- Issue happened in a recent (less than 7 days ago) round
- Couldn't find an existing issue about this