diff --git a/Updater/Updater.xml b/Updater/Updater.xml index 595e81a..dc5c6fd 100644 --- a/Updater/Updater.xml +++ b/Updater/Updater.xml @@ -51,7 +51,8 @@ function UpdatePlugin(pid, pfile, pversion, raw) local file = io.open(pfile, "w") file:write(page) file:close() - ReloadPlugin(pfile) + ReloadPlugin(pid) + Unload(GetPluginID()) end raw_version = nil