diff --git a/stepmania/src/LuaHelpers.cpp b/stepmania/src/LuaHelpers.cpp index 1bb4d53c35..2ea0b76329 100644 --- a/stepmania/src/LuaHelpers.cpp +++ b/stepmania/src/LuaHelpers.cpp @@ -189,6 +189,9 @@ void Lua::PrepareExpression( CString &sInOut ) // HACK: Many metrics have "//" comments that Lua fails to parse. // Replace them with Lua-style comments. sInOut.Replace( "//", "--" ); + + // comment out HTML style color values + sInOut.Replace( "#", "--" ); // Remove leading +, eg. "+50"; Lua doesn't handle that. if( sInOut.size() >= 1 && sInOut[0] == '+' )