summaryrefslogtreecommitdiff
path: root/src/SMAPI
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-07-08 20:50:42 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-07-08 20:50:42 -0400
commit68a21ff249c8a6cd9bdcece64e53162831fe7fd9 (patch)
treee1f8bffcdcda8e0745bd50cb2b07758283225fd9 /src/SMAPI
parent0f6f6c65c211f94ad7842e8a9d024471ddf933d3 (diff)
downloadSMAPI-68a21ff249c8a6cd9bdcece64e53162831fe7fd9.tar.gz
SMAPI-68a21ff249c8a6cd9bdcece64e53162831fe7fd9.tar.bz2
SMAPI-68a21ff249c8a6cd9bdcece64e53162831fe7fd9.zip
fix new event not initialised (#310)
Diffstat (limited to 'src/SMAPI')
-rw-r--r--src/SMAPI/Framework/Events/EventManager.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/Events/EventManager.cs b/src/SMAPI/Framework/Events/EventManager.cs
index 3d5d0124..4de333a3 100644
--- a/src/SMAPI/Framework/Events/EventManager.cs
+++ b/src/SMAPI/Framework/Events/EventManager.cs
@@ -264,6 +264,7 @@ namespace StardewModdingAPI.Framework.Events
ManagedEvent ManageEvent(string typeName, string eventName) => new ManagedEvent($"{typeName}.{eventName}", monitor, modRegistry);
// init events (new)
+ this.GameLoop_Launched = ManageEventOf<GameLoopLaunchedEventArgs>(nameof(IModEvents.GameLoop), nameof(IGameLoopEvents.Launched));
this.GameLoop_Updating = ManageEventOf<GameLoopUpdatingEventArgs>(nameof(IModEvents.GameLoop), nameof(IGameLoopEvents.Updating));
this.GameLoop_Updated = ManageEventOf<GameLoopUpdatedEventArgs>(nameof(IModEvents.GameLoop), nameof(IGameLoopEvents.Updated));