diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2021-08-27 21:05:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 21:05:47 +0200 |
commit | 4e67e9bca63b6539820a4e09d58ffc192146da19 (patch) | |
tree | 3cb66666c2d69e08e5c117c5ffa0b274b8693cb9 /core/variant/variant.cpp | |
parent | 701195937de2600a8c32a823ebffcf657ec7b0dd (diff) | |
parent | 4fae7ae9dc8e115c13c70c2762715cf3e4623a06 (diff) | |
download | redot-engine-4e67e9bca63b6539820a4e09d58ffc192146da19.tar.gz |
Merge pull request #52090 from balloonpopper/bug52060
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: |