From b4b4ad8174f19a4fc5760cb40fd853ef4f3c1c64 Mon Sep 17 00:00:00 2001 From: AardCrowley <12467582+AardCrowley@users.noreply.github.com> Date: Mon, 18 Feb 2019 22:32:42 -0500 Subject: [PATCH] Update AardClock2.0_Beta.xml --- AardClock2.0_Beta.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/AardClock2.0_Beta.xml b/AardClock2.0_Beta.xml index c29d562..97010ac 100644 --- a/AardClock2.0_Beta.xml +++ b/AardClock2.0_Beta.xml @@ -6,7 +6,7 @@ - + @@ -463,16 +463,16 @@ require 'mw_theme_base' local file = io.open(GetPluginInfo(GetPluginID(), 6), "w") file:write(page) file:close() - end - raw_version = nil + if "" == GetAlphaOption("script_prefix") then + SetAlphaOption("script_prefix", "\\\\\\") + end - if "" == GetAlphaOption("script_prefix") then - SetAlphaOption("script_prefix", "\\\\\\") + Execute(GetAlphaOption("script_prefix") .. "DoAfterSpecial(1, \"ReloadPlugin('" .. GetPluginID() .. "')\", sendto.script)") + ColourNote("white", "blue", "Update complete!") end - Execute(GetAlphaOption("script_prefix") .. "DoAfterSpecial(1, \"ReloadPlugin('" .. GetPluginID() .. "')\", sendto.script)") - ColourNote("white", "blue", "Update complete!") + raw_version = nil end -- end Update code ]]>