diff --git a/classes/deck/renderer_persistence.gd b/classes/deck/renderer_persistence.gd index a9a3654..823b284 100644 --- a/classes/deck/renderer_persistence.gd +++ b/classes/deck/renderer_persistence.gd @@ -30,7 +30,7 @@ static func init_namespace(name_space: String) -> bool: ## Returns the corresponding value for the given [param key] in the [param channel] storage. ## If the key does not exist, returns [param default], or [code]null[/code] if the parameter is omitted. -static func get_value(name_space: String, channel: String, key: String, default: Variant) -> Variant: +static func get_value(name_space: String, channel: String, key: String, default: Variant = null) -> Variant: _lazy_load_channel(name_space, channel) var validated_name := name_space.validate_filename() var validated_channel := channel.validate_filename()