mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Don't sort printed Dictionary
This commit is contained in:
parent
0e2842d5b2
commit
f056cb8ebc
@ -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,2 +1,2 @@
|
||||
GDTEST_OK
|
||||
{2:4, a:1, b:2, with spaces:3}
|
||||
{a:1, b:2, with spaces:3, 2:4}
|
||||
|
Loading…
Reference in New Issue
Block a user