Fix proper ordering of project settings properties, also fixes inability to change order of autoloads

This commit is contained in:
reduz
2015-12-28 18:04:22 -03:00
parent 110de2ccac
commit 496cb49771
3 changed files with 9 additions and 6 deletions

View File

@@ -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));
}
}