Cleanup
This commit is contained in:
@@ -11,8 +11,8 @@ extends HBoxContainer
|
||||
var _currency_id: StringName = &""
|
||||
|
||||
func _ready() -> void:
|
||||
if currency == null:
|
||||
currency = CurrencyDatabase.get_currency_resource(GameState.GOLD_CURRENCY_ID)
|
||||
#if currency == null:
|
||||
#currency = CurrencyDatabase.get_currency_resource(GameState.GOLD_CURRENCY_ID)
|
||||
if currency == null:
|
||||
push_warning("CurrencyTile '%s' has no currency configured." % String(name))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user