From 346f07a2850553315f4348a8cae34bcb812da2da Mon Sep 17 00:00:00 2001 From: Arcidayne <9382522b@opayq.com> Date: Sun, 20 Dec 2015 16:08:31 -0800 Subject: [PATCH] Updater - No need to download --- Updater/Updater.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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