1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fixed cases of unsupported pointers being used to construct variants

This commit is contained in:
Andrettin
2019-06-29 12:06:29 +02:00
parent ff3a54398d
commit 42e5d825b4
3 changed files with 4 additions and 4 deletions

View File

@@ -216,7 +216,7 @@ void PluginScriptLanguage::get_public_constants(List<Pair<String, Variant> > *p_
Dictionary constants;
_desc.get_public_constants(_data, (godot_dictionary *)&constants);
for (const Variant *key = constants.next(); key; key = constants.next(key)) {
Variant value = constants[key];
Variant value = constants[*key];
p_constants->push_back(Pair<String, Variant>(*key, value));
}
}