projects
/
GrooveNights.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d713df
)
GetSpeedModType didn't return a default if nothing was set in the machine profile.
author
Cameron Ball
<c.ball1729@gmail.com>
Tue, 3 Dec 2013 01:16:17 +0000
(09:16 +0800)
committer
Cameron Ball
<c.ball1729@gmail.com>
Tue, 3 Dec 2013 01:16:17 +0000
(09:16 +0800)
Themes/GrooveNights/Scripts/gnCustomOptions.lua
patch
|
blob
|
history
diff --git
a/Themes/GrooveNights/Scripts/gnCustomOptions.lua
b/Themes/GrooveNights/Scripts/gnCustomOptions.lua
index
6c72bfa
..
9c1fe0c
100644
(file)
--- a/
Themes/GrooveNights/Scripts/gnCustomOptions.lua
+++ b/
Themes/GrooveNights/Scripts/gnCustomOptions.lua
@@
-43,4
+43,7
@@
function GetSpeedModType()
for i=1,3 do
if type == string.lower(Names[i]) then return type end
end
+
+ -- no pref, default to the first name in the list.
+ return string.lower(Names[1])
end
\ No newline at end of file