diff options
-rw-r--r-- | src/StardewModdingAPI/Framework/SGame.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/StardewModdingAPI/Framework/SGame.cs b/src/StardewModdingAPI/Framework/SGame.cs index 8786010e..b1ac7c58 100644 --- a/src/StardewModdingAPI/Framework/SGame.cs +++ b/src/StardewModdingAPI/Framework/SGame.cs @@ -990,14 +990,7 @@ namespace StardewModdingAPI.Framework if (Game1.spriteBatch.IsOpen(SGame.Reflection)) { this.Monitor.Log("Recovering sprite batch from error...", LogLevel.Trace); - try - { - Game1.spriteBatch.End(); - } - catch - { - Game1.spriteBatch = new SpriteBatch(this.GraphicsDevice); // sprite batch is broken, try replacing it - } + Game1.spriteBatch.End(); } } catch (Exception innerEx) |