2
0
Эх сурвалжийг харах

Merge pull request #57052 from KoBeWi/nosort

Rémi Verschelde 3 жил өмнө
parent
commit
e1706be25d

+ 0 - 2
core/variant/variant.cpp

@@ -1692,8 +1692,6 @@ String Variant::stringify(int recursion_count) const {
 				pairs.push_back(sp);
 			}
 
-			pairs.sort();
-
 			for (int i = 0; i < pairs.size(); i++) {
 				if (i > 0) {
 					str += ", ";

+ 1 - 1
modules/gdscript/tests/scripts/parser/features/dictionary_lua_style.out

@@ -1,2 +1,2 @@
 GDTEST_OK
-{2:4, a:1, b:2, with spaces:3}
+{a:1, b:2, with spaces:3, 2:4}