From 92dd8716a425892d29dc88768b9f3db002be282e Mon Sep 17 00:00:00 2001 From: Adrian Gaudebert Date: Thu, 7 Nov 2024 15:35:41 +0100 Subject: [PATCH] Disable build button if cost of a building cannot be paid. --- src/hud/BuildingCreator.svelte | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/hud/BuildingCreator.svelte b/src/hud/BuildingCreator.svelte index ad9ad9f..3041e20 100644 --- a/src/hud/BuildingCreator.svelte +++ b/src/hud/BuildingCreator.svelte @@ -1,7 +1,10 @@ { #if $showBuildingCreator !== null } @@ -36,7 +43,12 @@

{ building.name }

- +
{ /each }