summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Inheritance/SGame.cs
diff options
context:
space:
mode:
authorMaurĂ­cio Gomes <mauricio.gomes@coderofworlds.com>2016-04-01 15:34:01 -0300
committerMaurĂ­cio Gomes <mauricio.gomes@coderofworlds.com>2016-04-01 15:34:01 -0300
commitae7eb92dc6013c8d03dda0fd93e2f47bca09a75d (patch)
tree429a56272a360d0c921e68d9993e05da2e5f686e /StardewModdingAPI/Inheritance/SGame.cs
parentb565ce31e66b41145320619d913303e5bd404961 (diff)
downloadSMAPI-ae7eb92dc6013c8d03dda0fd93e2f47bca09a75d.tar.gz
SMAPI-ae7eb92dc6013c8d03dda0fd93e2f47bca09a75d.tar.bz2
SMAPI-ae7eb92dc6013c8d03dda0fd93e2f47bca09a75d.zip
moved back a function that probably was in the right place last time
Diffstat (limited to 'StardewModdingAPI/Inheritance/SGame.cs')
-rw-r--r--StardewModdingAPI/Inheritance/SGame.cs7
1 files changed, 4 insertions, 3 deletions
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)
{