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 ]]>