From e0bd63a2a8df1d751199e1ac78c2932240059b43 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 20 Aug 2011 01:44:54 -0500 Subject: [PATCH] turns out that code didn't work. --- Themes/_fallback/Scripts/03 CustomSpeedMods.lua | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/Themes/_fallback/Scripts/03 CustomSpeedMods.lua b/Themes/_fallback/Scripts/03 CustomSpeedMods.lua index f30731f305..4886712686 100644 --- a/Themes/_fallback/Scripts/03 CustomSpeedMods.lua +++ b/Themes/_fallback/Scripts/03 CustomSpeedMods.lua @@ -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