summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/OneSecondUpdateTickingEventArgs.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-12-30 18:14:41 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-12-30 18:14:41 -0500
commit79c616600576acf16f70daad68cc60a22cbbbf74 (patch)
tree5a146e05975f1f4b40d2e1897d314f02b6d033c2 /src/SMAPI/Events/OneSecondUpdateTickingEventArgs.cs
parentf046091fe637963fd6a8cc8c1324daf81b64899f (diff)
parent72888fe2edf165580130fb37efdb562c8e3f78bb (diff)
downloadSMAPI-79c616600576acf16f70daad68cc60a22cbbbf74.tar.gz
SMAPI-79c616600576acf16f70daad68cc60a22cbbbf74.tar.bz2
SMAPI-79c616600576acf16f70daad68cc60a22cbbbf74.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Events/OneSecondUpdateTickingEventArgs.cs')
-rw-r--r--src/SMAPI/Events/OneSecondUpdateTickingEventArgs.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SMAPI/Events/OneSecondUpdateTickingEventArgs.cs b/src/SMAPI/Events/OneSecondUpdateTickingEventArgs.cs
index e9bb46c6..58cf802a 100644
--- a/src/SMAPI/Events/OneSecondUpdateTickingEventArgs.cs
+++ b/src/SMAPI/Events/OneSecondUpdateTickingEventArgs.cs
@@ -1,5 +1,5 @@
using System;
-using StardewValley;
+using StardewModdingAPI.Framework;
namespace StardewModdingAPI.Events
{
@@ -9,8 +9,8 @@ namespace StardewModdingAPI.Events
/*********
** Accessors
*********/
- /// <summary>The number of ticks elapsed since the game started, including the current tick.</summary>
- public uint Ticks => (uint)Game1.ticks;
+ /// <summary>The number of ticks elapsed since the game started, excluding the upcoming tick.</summary>
+ public uint Ticks => SGame.TicksElapsed;
/*********