diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-07-09 00:35:09 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-07-09 00:35:09 -0400 |
commit | fbf8356452db76f902578072aab3d757497e4cd1 (patch) | |
tree | e598d9c8299a668d2d6698048fc4fe0f3a22ca77 /src | |
parent | 68a21ff249c8a6cd9bdcece64e53162831fe7fd9 (diff) | |
download | SMAPI-fbf8356452db76f902578072aab3d757497e4cd1.tar.gz SMAPI-fbf8356452db76f902578072aab3d757497e4cd1.tar.bz2 SMAPI-fbf8356452db76f902578072aab3d757497e4cd1.zip |
fix new event (#310)
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI/Framework/Events/ModGameLoopEvents.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/Events/ModGameLoopEvents.cs b/src/SMAPI/Framework/Events/ModGameLoopEvents.cs index 1a142b0f..379a4e96 100644 --- a/src/SMAPI/Framework/Events/ModGameLoopEvents.cs +++ b/src/SMAPI/Framework/Events/ModGameLoopEvents.cs @@ -10,7 +10,11 @@ namespace StardewModdingAPI.Framework.Events ** Accessors *********/ /// <summary>Raised after the game is launched, right before the first update tick.</summary> - public event EventHandler<GameLoopLaunchedEventArgs> Launched; + public event EventHandler<GameLoopLaunchedEventArgs> Launched + { + add => this.EventManager.GameLoop_Launched.Add(value); + remove => this.EventManager.GameLoop_Launched.Remove(value); + } /// <summary>Raised before the game performs its overall update tick (≈60 times per second).</summary> public event EventHandler<GameLoopUpdatingEventArgs> Updating |