gdscript-playground
gdscript-playground copied to clipboard
Incorrect code being executed
This code returns "None" in the playground editor output with no error.
extends Node
func _ready():
if self().x:
print("hello")
else:
print("bye")
But it returns this error in godot:
Cannot call on an expression. Use ".call()" if it's a Callable.