GDScript: Fix function signature check for self calls

This commit is contained in:
George Marques
2021-05-26 15:33:18 -03:00
parent 313e1f62bb
commit a23fc45727
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,9 @@
extends Node
func test():
set_name("TestNodeName")
if get_name() == &"TestNodeName":
print("Name is equal")
else:
print("Name is not equal")
print(get_name() is StringName)

View File

@ -0,0 +1,3 @@
GDTEST_OK
Name is equal
True