diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-05-09 00:16:04 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-05-09 00:16:04 -0400 |
commit | 467d4a27ee565433559c9dc374f5c95107938498 (patch) | |
tree | a73362957a9a791a717cb9cd195d0dfcf4377ef2 /src/StardewModdingAPI | |
parent | fa729fa70021106bfb8541695f5fb7c5654e31b7 (diff) | |
download | SMAPI-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.cs | 2 |
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> |