diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-05 21:59:57 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-05 21:59:57 -0400 |
commit | 63fb4dbe8ae4d611c4854f863b9b29265e02fdee (patch) | |
tree | ceebeaa5739b04112f6efdc8fceabd17f8b6797c /src/SMAPI/Events/TimeEvents.cs | |
parent | 0530824cc2c573cae0a80f7def2b46bf8aeb9af9 (diff) | |
download | SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.tar.gz SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.tar.bz2 SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.zip |
tweak new event naming convention (#310)
Diffstat (limited to 'src/SMAPI/Events/TimeEvents.cs')
-rw-r--r-- | src/SMAPI/Events/TimeEvents.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SMAPI/Events/TimeEvents.cs b/src/SMAPI/Events/TimeEvents.cs index f769fd08..311ffe9e 100644 --- a/src/SMAPI/Events/TimeEvents.cs +++ b/src/SMAPI/Events/TimeEvents.cs @@ -19,15 +19,15 @@ namespace StardewModdingAPI.Events /// <summary>Raised after the game begins a new day, including when loading a save.</summary> public static event EventHandler AfterDayStarted { - add => TimeEvents.EventManager.Time_AfterDayStarted.Add(value); - remove => TimeEvents.EventManager.Time_AfterDayStarted.Remove(value); + add => TimeEvents.EventManager.Legacy_AfterDayStarted.Add(value); + remove => TimeEvents.EventManager.Legacy_AfterDayStarted.Remove(value); } /// <summary>Raised after the in-game clock changes.</summary> public static event EventHandler<EventArgsIntChanged> TimeOfDayChanged { - add => TimeEvents.EventManager.Time_TimeOfDayChanged.Add(value); - remove => TimeEvents.EventManager.Time_TimeOfDayChanged.Remove(value); + add => TimeEvents.EventManager.Legacy_TimeOfDayChanged.Add(value); + remove => TimeEvents.EventManager.Legacy_TimeOfDayChanged.Remove(value); } |