SaveScreenshot: remove unneeded boolean

This commit is contained in:
sukibaby
2025-05-01 00:25:09 -07:00
committed by teejusb
parent dacf87fb3b
commit 64a1e3a49c
+2 -2
View File
@@ -1034,8 +1034,8 @@ RString StepMania::SaveScreenshot( RString Dir, bool SaveCompressed, bool MakeSi
RString FileName = FileNameNoExtension + "." + (SaveCompressed ? "jpg" : "png");
RString Path = Dir+FileName;
bool Result = DISPLAY->SaveScreenshot( Path, fmt );
if( !Result )
if( !DISPLAY->SaveScreenshot(Path, fmt) )
{
SCREENMAN->PlayInvalidSound();
return RString();