From 0fb39e11e048c52f40a53e68fe8faf1180296b78 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 22 Feb 2004 04:48:39 +0000 Subject: [PATCH] fix assert when !PREFSMAN->m_bSignProfileData --- stepmania/src/StepMania.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index c2516ceb5c..f1c7e0a9ae 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -1155,7 +1155,7 @@ CString SaveScreenshot( CString sDir, bool bSaveCompressed, bool bMakeSignature // thowing out all the cache. -Chris FlushDirCache(); - if( bMakeSignature ) + if( PREFSMAN->m_bSignProfileData && bMakeSignature ) CryptManager::SignFileToFile( sPath ); return sFileName;