1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-26 01:24:19 +00:00

Default can_buy to true

This commit is contained in:
Steffo 2023-10-01 14:43:38 +02:00
parent 73ede51027
commit 94fef9e231
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -34,7 +34,7 @@ class_name PurchasableItem
## Whether the player can click or not the Buy button. ## Whether the player can click or not the Buy button.
## ##
## Used to prevent two items from getting bought at the same time. ## Used to prevent two items from getting bought at the same time.
@export var can_buy: bool: @export var can_buy: bool = true:
get: get:
return can_buy return can_buy
set(value): set(value):