You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fixed evaluation for types
This commit is contained in:
@@ -1186,7 +1186,7 @@ void ScriptTextEditor::_edit_option(int p_op) {
|
|||||||
if (expression.parse(line) == OK) {
|
if (expression.parse(line) == OK) {
|
||||||
Variant result = expression.execute(Array(), Variant(), false);
|
Variant result = expression.execute(Array(), Variant(), false);
|
||||||
if (expression.get_error_text() == "") {
|
if (expression.get_error_text() == "") {
|
||||||
results.append(whitespace + (String)result);
|
results.append(whitespace + result.get_construct_string());
|
||||||
} else {
|
} else {
|
||||||
results.append(line);
|
results.append(line);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user