projects
/
GrooveNights.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f46c29
)
Removed redundant check.
author
Cameron Ball
<c.ball1729@gmail.com>
Tue, 3 Dec 2013 17:32:31 +0000
(
01:32
+0800)
committer
Cameron Ball
<c.ball1729@gmail.com>
Tue, 3 Dec 2013 17:32:31 +0000
(
01:32
+0800)
Themes/GrooveNights/Scripts/gnCustomOptions.lua
patch
|
blob
|
history
diff --git
a/Themes/GrooveNights/Scripts/gnCustomOptions.lua
b/Themes/GrooveNights/Scripts/gnCustomOptions.lua
index
9c1fe0c
..
d7f1528
100644
(file)
--- a/
Themes/GrooveNights/Scripts/gnCustomOptions.lua
+++ b/
Themes/GrooveNights/Scripts/gnCustomOptions.lua
@@
-5,12
+5,9
@@
local ProfileTable = PROFILEMAN:GetMachineProfile():GetSaved()
local Names = { "Basic", "Advanced", "Pro" }
function SpeedModTypeRow()
- local type =
ProfileTable.SpeedModType
+ local type =
GetSpeedModType()
local function Load(self, list, pn)
- -- if type is not set then default to basic
- if not type then list[1] = true return end
-
-- what we're doing here is checking what we got from profileman against the valid names.
for i=1,3 do
if type == string.lower(Names[i]) then list[i] = true return end