diff options
author | reduz <reduzio@gmail.com> | 2015-12-28 18:04:22 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2015-12-28 18:04:22 -0300 |
commit | 496cb4977125e45f046a1279876ef829fb22dbf3 (patch) | |
tree | 985845f6b616f57540f65d2fa24df1d3b3e92a74 /core/globals.cpp | |
parent | 110de2ccace05ade4d9fbdded7f4c158dfaa13c1 (diff) |
Fix proper ordering of project settings properties, also fixes inability to change order of autoloads
Diffstat (limited to 'core/globals.cpp')
-rw-r--r-- | core/globals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/globals.cpp b/core/globals.cpp index 38e88e43e2..8f371bb7c1 100644 --- a/core/globals.cpp +++ b/core/globals.cpp @@ -137,7 +137,7 @@ bool Globals::_set(const StringName& p_name, const Variant& p_value) { props[p_name].order=last_order++; } } else { - props[p_name]=VariantContainer(p_value,last_order++ + registering_order?0:NO_ORDER_BASE); + props[p_name]=VariantContainer(p_value,last_order++ + (registering_order?0:NO_ORDER_BASE)); } } |