Fix non-compiling typo in Expression.xml example

Slight typo in Expression.xml prevented compilation when copy/pasted.
This commit is contained in:
Kyle Szklenski 2019-01-28 16:38:13 -05:00 committed by GitHub
parent f32c826924
commit fb61080812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
func _on_text_entered(command):
var error = expression.parse(command, [])
if error != OK:
print(get_error_text())
print(expression.get_error_text())
return
var result = expression.execute([], null, true)
if not expression.has_execute_failed():