diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-06-15 18:58:05 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-06-15 18:58:05 -0400 |
commit | fc29fe918a89623544b011c76217aa1ea1975d00 (patch) | |
tree | f12de32f394725ff35c26d786f3ff7f455828690 /src/SMAPI/Framework/SCore.cs | |
parent | b395e92faae0a197a2d1c2e10e835e38fcc6502c (diff) | |
download | SMAPI-fc29fe918a89623544b011c76217aa1ea1975d00.tar.gz SMAPI-fc29fe918a89623544b011c76217aa1ea1975d00.tar.bz2 SMAPI-fc29fe918a89623544b011c76217aa1ea1975d00.zip |
refactor & optimize event code a bit, drop old support for unknown event handlers
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r-- | src/SMAPI/Framework/SCore.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index de9c955d..c6e69d4e 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -172,7 +172,7 @@ namespace StardewModdingAPI.Framework this.MonitorForGame = this.GetSecondaryMonitor("game"); SCore.PerformanceMonitor = new PerformanceMonitor(this.Monitor); - this.EventManager = new EventManager(this.Monitor, this.ModRegistry, SCore.PerformanceMonitor); + this.EventManager = new EventManager(this.ModRegistry, SCore.PerformanceMonitor); SCore.PerformanceMonitor.InitializePerformanceCounterCollections(this.EventManager); SCore.DeprecationManager = new DeprecationManager(this.Monitor, this.ModRegistry); |