diff --git a/src/SMAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs index 70377f34..c62f025a 100644 --- a/src/SMAPI/Framework/SGame.cs +++ b/src/SMAPI/Framework/SGame.cs @@ -1157,7 +1157,7 @@ namespace StardewModdingAPI.Framework if (this.IsSaving) { base.GraphicsDevice.Clear(bgColor.GetValue()); - this.renderScreenBuffer(BlendState.Opaque); + this.renderScreenBuffer(BlendState.Opaque, toBuffer); if (activeClickableMenu != null) { if (IsActiveClickableMenuNativeScaled) @@ -1267,7 +1267,7 @@ namespace StardewModdingAPI.Framework _spriteBatchEnd.Invoke(); this.drawOverlays(spriteBatch); - this.renderScreenBuffer(BlendState.AlphaBlend); + this.renderScreenBuffer(BlendState.AlphaBlend, toBuffer); if (overlayMenu != null) { SetSpriteBatchBeginNextID("D"); @@ -1327,7 +1327,7 @@ namespace StardewModdingAPI.Framework _spriteBatchEnd.Invoke(); } this.drawOverlays(spriteBatch); - this.renderScreenBuffer(BlendState.AlphaBlend); + this.renderScreenBuffer(BlendState.AlphaBlend, null); if (currentMinigame is FishingGame && activeClickableMenu != null) { SetSpriteBatchBeginNextID("A-A"); @@ -1364,7 +1364,7 @@ namespace StardewModdingAPI.Framework } else if (showingEndOfNightStuff) { - this.renderScreenBuffer(BlendState.Opaque); + this.renderScreenBuffer(BlendState.Opaque, null); BackupViewportAndZoom(divideByZoom: true); SetSpriteBatchBeginNextID("A-B"); SpriteBatchBegin.Invoke(NativeZoomLevel); @@ -1410,7 +1410,7 @@ namespace StardewModdingAPI.Framework #endif this.drawOverlays(spriteBatch); - this.renderScreenBuffer(BlendState.AlphaBlend); + this.renderScreenBuffer(BlendState.AlphaBlend, toBuffer); if (overlayMenu != null) { SetSpriteBatchBeginNextID("H"); @@ -2055,7 +2055,7 @@ label_168: #endif _spriteBatchEnd.Invoke(); this.drawOverlays(spriteBatch); - this.renderScreenBuffer(BlendState.Opaque); + this.renderScreenBuffer(BlendState.Opaque, toBuffer); if (_drawHUD.GetValue()) { DrawDayTimeMoneyBox.Invoke(); diff --git a/src/SMAPI/StardewModdingAPI.csproj b/src/SMAPI/StardewModdingAPI.csproj index 4ef2626e..56ab7230 100644 --- a/src/SMAPI/StardewModdingAPI.csproj +++ b/src/SMAPI/StardewModdingAPI.csproj @@ -87,7 +87,7 @@ - ..\..\..\..\..\Downloads\Stardew-Valley-v1-25_mod\unknown\assemblies\StardewValley.dll + ..\..\..\..\..\Downloads\com.chucklefish.stardewvalley_1.31\assemblies\StardewValley.dll