mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 16:33:30 +00:00
Fix crash in pluginscript complete_code
This commit is contained in:
parent
c037f6339f
commit
72d50b4185
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ Error PluginScriptLanguage::complete_code(const String &p_code, const String &p_
|
|||
for (int i = 0; i < options.size(); i++) {
|
||||
r_options->push_back(String(options[i]));
|
||||
}
|
||||
Error err = *(Error *)tmp;
|
||||
Error err = *(Error *)&tmp;
|
||||
return err;
|
||||
}
|
||||
return ERR_UNAVAILABLE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue