diff --git a/stepmania/src/RageFile.cpp b/stepmania/src/RageFile.cpp index 671af67b40..3d2f03985f 100644 --- a/stepmania/src/RageFile.cpp +++ b/stepmania/src/RageFile.cpp @@ -48,6 +48,7 @@ void CollapsePath( CString &sPath ) bool RageFile::Open(const CString& path, const char *mode) { + Close(); mPath = path; FixSlashesInPlace(mPath); mFP = fopen(mPath, mode);