Fixed evaluation for types
This commit is contained in:
parent
3564547208
commit
94fb3f666c
1 changed files with 1 additions and 1 deletions
|
@ -1186,7 +1186,7 @@ void ScriptTextEditor::_edit_option(int p_op) {
|
|||
if (expression.parse(line) == OK) {
|
||||
Variant result = expression.execute(Array(), Variant(), false);
|
||||
if (expression.get_error_text() == "") {
|
||||
results.append(whitespace + (String)result);
|
||||
results.append(whitespace + result.get_construct_string());
|
||||
} else {
|
||||
results.append(line);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue