Commit 36efe451 authored by NihilisticPandemonium's avatar NihilisticPandemonium

Update this to the new method since Simpy ripped the old one out.

parent 214470a2
......@@ -371,7 +371,7 @@ function VAT:InsertOptions()
local t = E.db.VAT.colors[ info[#info] ]
t.r, t.g, t.b = r, g, b
VAT:UpdateTimerColors()
end,
end,
},
seconds = {
type = 'color',
......@@ -387,7 +387,7 @@ function VAT:InsertOptions()
local t = E.db.VAT.colors[ info[#info] ]
t.r, t.g, t.b = r, g, b
VAT:UpdateTimerColors()
end,
end,
},
minutes = {
type = 'color',
......@@ -403,7 +403,7 @@ function VAT:InsertOptions()
local t = E.db.VAT.colors[ info[#info] ]
t.r, t.g, t.b = r, g, b
VAT:UpdateTimerColors()
end,
end,
},
hours = {
type = 'color',
......@@ -419,8 +419,8 @@ function VAT:InsertOptions()
local t = E.db.VAT.colors[ info[#info] ]
t.r, t.g, t.b = r, g, b
VAT:UpdateTimerColors()
end,
},
end,
},
days = {
type = 'color',
order = 7,
......@@ -435,7 +435,7 @@ function VAT:InsertOptions()
local t = E.db.VAT.colors[ info[#info] ]
t.r, t.g, t.b = r, g, b
VAT:UpdateTimerColors()
end,
end,
},
},
},
......@@ -477,7 +477,7 @@ function VAT:InsertOptions()
local t = E.db.VAT.colors[ info[#info] ]
t.r, t.g, t.b = r, g, b
VAT:UpdateTimerColors()
end,
end,
},
secondsIndicator = {
type = 'color',
......@@ -493,7 +493,7 @@ function VAT:InsertOptions()
local t = E.db.VAT.colors[ info[#info] ]
t.r, t.g, t.b = r, g, b
VAT:UpdateTimerColors()
end,
end,
},
minutesIndicator = {
type = 'color',
......@@ -509,7 +509,7 @@ function VAT:InsertOptions()
local t = E.db.VAT.colors[ info[#info] ]
t.r, t.g, t.b = r, g, b
VAT:UpdateTimerColors()
end,
end,
},
hoursIndicator = {
type = 'color',
......@@ -525,8 +525,8 @@ function VAT:InsertOptions()
local t = E.db.VAT.colors[ info[#info] ]
t.r, t.g, t.b = r, g, b
VAT:UpdateTimerColors()
end,
},
end,
},
daysIndicator = {
type = 'color',
order = 7,
......@@ -541,7 +541,7 @@ function VAT:InsertOptions()
local t = E.db.VAT.colors[ info[#info] ]
t.r, t.g, t.b = r, g, b
VAT:UpdateTimerColors()
end,
end,
},
},
},
......@@ -553,4 +553,8 @@ function VAT:InsertOptions()
}
end
E:RegisterModule(VAT:GetName())
\ No newline at end of file
local function InitializeCallback()
VAT:Initialize()
end
E:RegisterModule(VAT:GetName(), InitializeCallback)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment