GDScript: Fix getting type from PropertyInfo for Variant arguments

This commit is contained in:
Dmitrii Maganov
2022-12-28 00:11:51 +02:00
parent 75515e4303
commit 5980abbcec
6 changed files with 16 additions and 20 deletions

View File

@@ -0,0 +1,6 @@
class Check extends Node:
func _set(_property: StringName, _value: Variant) -> bool:
return true
func test() -> void:
print('OK')

View File

@@ -0,0 +1,2 @@
GDTEST_OK
OK