From ae7eb92dc6013c8d03dda0fd93e2f47bca09a75d Mon Sep 17 00:00:00 2001 From: MaurĂ­cio Gomes Date: Fri, 1 Apr 2016 15:34:01 -0300 Subject: moved back a function that probably was in the right place last time --- StardewModdingAPI/Inheritance/SGame.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'StardewModdingAPI/Inheritance/SGame.cs') diff --git a/StardewModdingAPI/Inheritance/SGame.cs b/StardewModdingAPI/Inheritance/SGame.cs index 5cdc92c6..9cf204b8 100644 --- a/StardewModdingAPI/Inheritance/SGame.cs +++ b/StardewModdingAPI/Inheritance/SGame.cs @@ -1312,7 +1312,9 @@ namespace StardewModdingAPI.Inheritance GraphicsEvents.InvokeOnPostRenderEvent(null, EventArgs.Empty); spriteBatch.End(); - + + GraphicsEvents.InvokeDrawInRenderTargetTick(); + if (!ZoomLevelIsOne) { GraphicsDevice.SetRenderTarget(null); @@ -1322,8 +1324,7 @@ namespace StardewModdingAPI.Inheritance spriteBatch.End(); } - GraphicsEvents.InvokeDrawTick(); - GraphicsEvents.InvokeDrawInRenderTargetTick(); + GraphicsEvents.InvokeDrawTick(); } catch (Exception ex) { -- cgit