diff options
author | MaurĂcio Gomes <mauricio.gomes@coderofworlds.com> | 2016-03-28 23:48:37 -0300 |
---|---|---|
committer | MaurĂcio Gomes <mauricio.gomes@coderofworlds.com> | 2016-03-28 23:48:37 -0300 |
commit | 950754c25307f37ed611e4f261d2c056567bff4d (patch) | |
tree | 12ee358af59b59f94250eadecba2857097e05d5b | |
parent | d681cfd54d0fe20f386e6964e68178d7fb104525 (diff) | |
download | SMAPI-950754c25307f37ed611e4f261d2c056567bff4d.tar.gz SMAPI-950754c25307f37ed611e4f261d2c056567bff4d.tar.bz2 SMAPI-950754c25307f37ed611e4f261d2c056567bff4d.zip |
Correct fix for https://github.com/ClxS/SMAPI/issues/74
-rw-r--r-- | StardewModdingAPI/Inheritance/SGame.cs | 8 |
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
|