mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
Merge pull request #15535 from touilleMan/fix-pluginscript-complete-code
[GDnative] Fix crash in pluginscript complete_code
This commit is contained in:
commit
302dfea2f0
@ -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…
Reference in New Issue
Block a user