diff options
author | Balloonpopper <balloonpopper@git.com> | 2021-08-25 16:37:40 +1000 |
---|---|---|
committer | Balloonpopper <balloonpopper@git.com> | 2021-08-26 17:11:34 +1000 |
commit | 4fae7ae9dc8e115c13c70c2762715cf3e4623a06 (patch) | |
tree | 75c0b08e1537c4149e8bc07735d7d2b54ae830af /core/variant/variant.cpp | |
parent | bb0122c9331e7cb56d358ab427329a267b387969 (diff) | |
download | redot-engine-4fae7ae9dc8e115c13c70c2762715cf3e4623a06.tar.gz |
Correct null and boolean values being capitalised by the str command
Diffstat (limited to 'core/variant/variant.cpp')
-rw-r--r-- | core/variant/variant.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/variant/variant.cpp b/core/variant/variant.cpp index d538b9faff..c5cada674f 100644 --- a/core/variant/variant.cpp +++ b/core/variant/variant.cpp @@ -1627,9 +1627,9 @@ Variant::operator String() const { String Variant::stringify(List<const void *> &stack) const { switch (type) { case NIL: - return "Null"; + return "null"; case BOOL: - return _data._bool ? "True" : "False"; + return _data._bool ? "true" : "false"; case INT: return itos(_data._int); case FLOAT: |