From 950754c25307f37ed611e4f261d2c056567bff4d Mon Sep 17 00:00:00 2001 From: MaurĂ­cio Gomes Date: Mon, 28 Mar 2016 23:48:37 -0300 Subject: Correct fix for https://github.com/ClxS/SMAPI/issues/74 --- StardewModdingAPI/Inheritance/SGame.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/StardewModdingAPI/Inheritance/SGame.cs b/StardewModdingAPI/Inheritance/SGame.cs index 42de205d..434f8341 100644 --- a/StardewModdingAPI/Inheritance/SGame.cs +++ b/StardewModdingAPI/Inheritance/SGame.cs @@ -1252,10 +1252,7 @@ namespace StardewModdingAPI.Inheritance } GraphicsEvents.InvokeOnPostRenderEvent(null, EventArgs.Empty); - spriteBatch.End(); - - GraphicsEvents.InvokeDrawTick(); - GraphicsEvents.InvokeDrawInRenderTargetTick(); + spriteBatch.End(); if (!ZoomLevelIsOne) { @@ -1266,6 +1263,9 @@ namespace StardewModdingAPI.Inheritance spriteBatch.End(); } + GraphicsEvents.InvokeDrawTick(); + GraphicsEvents.InvokeDrawInRenderTargetTick(); + #endregion } else -- cgit