Limit starter sites to towns

This commit is contained in:
Joshua Barretto 2023-03-31 21:31:01 +01:00
parent 2e3870cf6d
commit 0d7ee4479b

View File

@ -1910,7 +1910,7 @@ impl CharSelectionUi {
client.sites()
.values()
// TODO: Enforce this server-side and add some way to customise it?
.filter(|info| matches!(&info.site.kind, SiteKind::Town | SiteKind::Castle | SiteKind::Bridge))
.filter(|info| matches!(&info.site.kind, SiteKind::Town /*| SiteKind::Castle | SiteKind::Bridge*/))
.map(|info| info.site.clone())
.collect(),
client.world_data().chunk_size().as_(),