diff --git a/stepmania/Themes/default/Graphics/ScreenWithMenuElements StyleIcon/default.lua b/stepmania/Themes/default/Graphics/ScreenWithMenuElements StyleIcon/default.lua index 21c35c8046..6a2e93df37 100644 --- a/stepmania/Themes/default/Graphics/ScreenWithMenuElements StyleIcon/default.lua +++ b/stepmania/Themes/default/Graphics/ScreenWithMenuElements StyleIcon/default.lua @@ -1,11 +1,12 @@ local style = GAMESTATE:GetCurrentStyle(); if not style then return Def.Actor {}; end -local s = StyleTypeToString( style:GetStyleType() ); +local s = style:GetStyleType(); local Reverse = PlayerNumber:Reverse(); +s = string.gsub(s, "StyleType_", ""); local t = LoadActor("_icon " .. s)() .. { InitCommand = cmd(pause;setstate,Reverse[GAMESTATE:GetMasterPlayerNumber()]); }; -return t; \ No newline at end of file +return t;