updated core to new GDNative interface

This commit is contained in:
Karroffel
2017-06-18 13:21:18 +02:00
parent 31dd500d28
commit ebe9d9de6a
5 changed files with 12 additions and 12 deletions

View File

@@ -268,7 +268,7 @@ String PoolStringArray::operator [](const int idx)
{
String s;
godot_string str = godot_pool_string_array_get(&_godot_array, idx);
godot_string_copy_string((godot_string *) &s, &str);
godot_string_new_copy((godot_string *) &s, &str);
godot_string_destroy(&str);
return s;
}