diff --git a/Aardwolf_Clock V2/Aardwolf_Clock.xml b/Aardwolf_Clock V2/Aardwolf_Clock.xml index ec36c71..57e48a9 100644 --- a/Aardwolf_Clock V2/Aardwolf_Clock.xml +++ b/Aardwolf_Clock V2/Aardwolf_Clock.xml @@ -6,7 +6,7 @@ - + @@ -113,6 +113,19 @@ if not GetVariable("showDigital") then SetVariable("showDigital", "false") end +function round(v) + local r = 0 + if type(v) == 'number' then + i, f = math.modf(v) + if f >0.5 then + r = i + 1 + else + r = i + end + end + return r +end + function findPos(t) local spt = 12.0 local r = 62 @@ -241,20 +254,6 @@ end require 'tprint' - -function round(v) - local r = 0 - if type(v) == 'number' then - i, f = math.modf(v) - if f >0.5 then - r = i + 1 - else - r = i - end - end - return r -end - PLUGIN_VERSION = GetPluginInfo(GetPluginID(), 19) PLUGIN_NAME = GetPluginInfo(GetPluginID(), 1)