diff --git a/app/components/village/BuildForm.vue b/app/components/village/BuildForm.vue index 644a221..aeb920e 100644 --- a/app/components/village/BuildForm.vue +++ b/app/components/village/BuildForm.vue @@ -114,7 +114,7 @@ const demolishable = computed(() => - {{ $t('village.build.free_space', { free: space.max - space.used }) }} + {{ $t('village.build.free_space', { free: Math.max(0, space.max - space.used) }) }} diff --git a/app/components/village/OverviewSidebar.vue b/app/components/village/OverviewSidebar.vue index ac6d934..af5527d 100644 --- a/app/components/village/OverviewSidebar.vue +++ b/app/components/village/OverviewSidebar.vue @@ -1,5 +1,5 @@