Adjust dungeon bounds some more (#16929)

This commit is contained in:
metalgearsloth
2023-05-29 21:48:15 +10:00
committed by GitHub
parent 35a2afdcff
commit 94f3e55e5a
2 changed files with 9 additions and 7 deletions

View File

@@ -87,6 +87,8 @@ public sealed class DungeonTests
var rotated = new Vector2i(pack.Size.Y, pack.Size.X);
Assert.That(sizes.Contains(pack.Size) || sizes.Contains(rotated), $"Didn't find any dungeon room prototypes for {pack.Size} for {preset.ID} index {i}");
Assert.That(pack.Bottom, Is.GreaterThanOrEqualTo(0), "All dungeon room packs need their y-axis to be above 0!");
}
}
});