summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-05-09 00:16:04 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-05-09 00:16:04 -0400
commit467d4a27ee565433559c9dc374f5c95107938498 (patch)
treea73362957a9a791a717cb9cd195d0dfcf4377ef2 /src/StardewModdingAPI
parentfa729fa70021106bfb8541695f5fb7c5654e31b7 (diff)
downloadSMAPI-467d4a27ee565433559c9dc374f5c95107938498.tar.gz
SMAPI-467d4a27ee565433559c9dc374f5c95107938498.tar.bz2
SMAPI-467d4a27ee565433559c9dc374f5c95107938498.zip
reduce max consecutive draw crashes (#283)
Diffstat (limited to 'src/StardewModdingAPI')
-rw-r--r--src/StardewModdingAPI/Framework/SGame.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Framework/SGame.cs b/src/StardewModdingAPI/Framework/SGame.cs
index b1ac7c58..81dae754 100644
--- a/src/StardewModdingAPI/Framework/SGame.cs
+++ b/src/StardewModdingAPI/Framework/SGame.cs
@@ -30,7 +30,7 @@ namespace StardewModdingAPI.Framework
** SMAPI state
****/
/// <summary>The maximum number of consecutive attempts SMAPI should make to recover from a draw error.</summary>
- private readonly int MaxFailedDraws = 120; // roughly two seconds
+ private readonly int MaxFailedDraws = 60; // roughly one second
/// <summary>The number of ticks until SMAPI should notify mods that the game has loaded.</summary>
/// <remarks>Skipping a few frames ensures the game finishes initialising the world before mods try to change it.</remarks>