summaryrefslogtreecommitdiff
path: root/StardewModdingAPI
diff options
context:
space:
mode:
authorMaurĂ­cio Gomes <mauricio.gomes@coderofworlds.com>2016-03-28 23:48:37 -0300
committerMaurĂ­cio Gomes <mauricio.gomes@coderofworlds.com>2016-03-28 23:48:37 -0300
commit950754c25307f37ed611e4f261d2c056567bff4d (patch)
tree12ee358af59b59f94250eadecba2857097e05d5b /StardewModdingAPI
parentd681cfd54d0fe20f386e6964e68178d7fb104525 (diff)
downloadSMAPI-950754c25307f37ed611e4f261d2c056567bff4d.tar.gz
SMAPI-950754c25307f37ed611e4f261d2c056567bff4d.tar.bz2
SMAPI-950754c25307f37ed611e4f261d2c056567bff4d.zip
Correct fix for https://github.com/ClxS/SMAPI/issues/74
Diffstat (limited to 'StardewModdingAPI')
-rw-r--r--StardewModdingAPI/Inheritance/SGame.cs8
1 files 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