diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-11 18:36:58 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-11 18:36:58 -0400 |
commit | 4fa46fd741c90695a02e564fe4c55715ec86463f (patch) | |
tree | 4d816dff1a653c7a67dde7a689ccd38fcb28caa3 /src/SMAPI/Framework/SGame.cs | |
parent | e4222ad1fd5b32ca81ee55e025b4e421582cb2d3 (diff) | |
download | SMAPI-4fa46fd741c90695a02e564fe4c55715ec86463f.tar.gz SMAPI-4fa46fd741c90695a02e564fe4c55715ec86463f.tar.bz2 SMAPI-4fa46fd741c90695a02e564fe4c55715ec86463f.zip |
fix error in Stardew Valley 1.2 build mode (#453)
Diffstat (limited to 'src/SMAPI/Framework/SGame.cs')
-rw-r--r-- | src/SMAPI/Framework/SGame.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs index 0c31b98e..c6e9aa92 100644 --- a/src/SMAPI/Framework/SGame.cs +++ b/src/SMAPI/Framework/SGame.cs @@ -262,7 +262,11 @@ namespace StardewModdingAPI.Framework // a small chance that the task will finish after we defer but before the game checks, // which means technically events should be raised, but the effects of missing one // update tick are neglible and not worth the complications of bypassing Game1.Update. +#if STARDEW_VALLEY_1_3 if (Game1._newDayTask != null) +#else + if (SGame._newDayTask != null) +#endif { base.Update(gameTime); this.Events.Specialised_UnvalidatedUpdateTick.Raise(); |