turns out that code didn't work.

This commit is contained in:
AJ Kelly
2011-08-20 01:44:54 -05:00
parent 35118e7632
commit e0bd63a2a8
@@ -1,12 +1,9 @@
--[[
Custom Speed Mods v2.2 (for StepMania 5)
Custom Speed Mods v2.1 (for StepMania 5)
by AJ Kelly of KKI Labs ( http://kki.ajworld.net/ )
changelog:
v2.2 (StepMania 5 Preview 3)
* m-Mod bugfix from hanubeki.
v2.1 (StepMania 5 Preview 2)
* Added support for m-Mods.
@@ -270,18 +267,8 @@ function SpeedMods()
LoadSelections = function(self, list, pn)
local pMods = GAMESTATE:GetPlayerState(pn):GetPlayerOptionsString("ModsLevel_Preferred")
local isMMod = string.match(join(',',pMods), "m%d+")
if isMMod then
local mIndex = table.find(self.Choices, isMMod)
if mIndex then
list[mIndex] = true
return
end
end
for i = 1,table.getn(self.Choices) do
if table.find(pMods, self.Choices[i]) then
if string.find(pMods, self.Choices[i]) then
list[i] = true
return
end