diff --git a/stepmania/src/MsdFile.cpp b/stepmania/src/MsdFile.cpp index b0d6a101cb..c2ef4dc268 100644 --- a/stepmania/src/MsdFile.cpp +++ b/stepmania/src/MsdFile.cpp @@ -195,6 +195,10 @@ void MsdFile::ReadBuf( char *buf, int len ) i++; } + + /* Add any unterminated value at the very end. */ + if(ReadingValue) + AddParam(buf+value_start, i - value_start); } // returns true if successful, false otherwise