From 94fef9e231a750e72d408a0c49089349bec9360a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 1 Oct 2023 14:43:38 +0200 Subject: [PATCH] Default can_buy to true --- interface/purchasable_item.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/purchasable_item.gd b/interface/purchasable_item.gd index a0fe873..c130b48 100644 --- a/interface/purchasable_item.gd +++ b/interface/purchasable_item.gd @@ -34,7 +34,7 @@ class_name PurchasableItem ## Whether the player can click or not the Buy button. ## ## Used to prevent two items from getting bought at the same time. -@export var can_buy: bool: +@export var can_buy: bool = true: get: return can_buy set(value):