From 4fae7ae9dc8e115c13c70c2762715cf3e4623a06 Mon Sep 17 00:00:00 2001 From: Balloonpopper Date: Wed, 25 Aug 2021 16:37:40 +1000 Subject: Correct null and boolean values being capitalised by the str command --- core/variant/variant.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') 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 &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: -- cgit v1.2.3