diff options
author | MaurĂcio Gomes <mauricio.gomes@coderofworlds.com> | 2016-04-01 15:34:01 -0300 |
---|---|---|
committer | MaurĂcio Gomes <mauricio.gomes@coderofworlds.com> | 2016-04-01 15:34:01 -0300 |
commit | ae7eb92dc6013c8d03dda0fd93e2f47bca09a75d (patch) | |
tree | 429a56272a360d0c921e68d9993e05da2e5f686e /StardewModdingAPI/Inheritance/SGame.cs | |
parent | b565ce31e66b41145320619d913303e5bd404961 (diff) | |
download | SMAPI-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.cs | 7 |
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)
{
|