diff options
Diffstat (limited to 'plugins/MirLua/src')
-rw-r--r-- | plugins/MirLua/src/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/plugin.cpp b/plugins/MirLua/src/plugin.cpp index 9376355a7f..b6dba83f2e 100644 --- a/plugins/MirLua/src/plugin.cpp +++ b/plugins/MirLua/src/plugin.cpp @@ -46,7 +46,7 @@ void CMPlugin::UnloadLuaScripts() { for (auto &script : m_scripts.rev_iter()) { script->Unload(); - delete m_scripts.removeItem(&script); + m_scripts.removeItem(&script); } } |