Merge pull request #1487 from AThousandShips/arg_default_fix
Fix generating default values for `StringName`pull/1488/head
commit
6c4064125b
|
@ -2573,6 +2573,8 @@ def correct_default_value(value, type_name):
|
|||
return f"{type_name}()"
|
||||
if value.startswith("Array["):
|
||||
return f"{{}}"
|
||||
if value.startswith("&"):
|
||||
return value[1::]
|
||||
return value
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue