You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fix crash in pluginscript complete_code
This commit is contained in:
@@ -168,7 +168,7 @@ Error PluginScriptLanguage::complete_code(const String &p_code, const String &p_
|
|||||||
for (int i = 0; i < options.size(); i++) {
|
for (int i = 0; i < options.size(); i++) {
|
||||||
r_options->push_back(String(options[i]));
|
r_options->push_back(String(options[i]));
|
||||||
}
|
}
|
||||||
Error err = *(Error *)tmp;
|
Error err = *(Error *)&tmp;
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
return ERR_UNAVAILABLE;
|
return ERR_UNAVAILABLE;
|
||||||
|
|||||||
Reference in New Issue
Block a user