diff options
Diffstat (limited to 'internal/game/vesta_world_test.go')
| -rw-r--r-- | internal/game/vesta_world_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/game/vesta_world_test.go b/internal/game/vesta_world_test.go index 3a2e320..8072dca 100644 --- a/internal/game/vesta_world_test.go +++ b/internal/game/vesta_world_test.go @@ -285,8 +285,9 @@ func TestVestaCasinoFloorsAndVariants(t *testing.T) { continue } // The vestibule stays at street level (below the gaming floor); - // every gaming room shares 6101's floor. - if id != 6100 && grid.Coord[id][2] != grid.Coord[6101][2] { + // every gaming room shares 6101's floor. Support rooms (the + // vestibule, the Prediction Exchange) may sit on the ground floor. + if id != 6100 && (len(r.CasinoTables)+len(r.CasinoMachines)) > 0 && grid.Coord[id][2] != grid.Coord[6101][2] { t.Errorf("casino room %d drifted off the gaming floor", id) } if strings.Contains(r.Name, "Future ") { |
