summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/MenuEvents.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Events/MenuEvents.cs')
-rw-r--r--src/SMAPI/Events/MenuEvents.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SMAPI/Events/MenuEvents.cs b/src/SMAPI/Events/MenuEvents.cs
index 7fcc3844..362b5070 100644
--- a/src/SMAPI/Events/MenuEvents.cs
+++ b/src/SMAPI/Events/MenuEvents.cs
@@ -19,15 +19,15 @@ namespace StardewModdingAPI.Events
/// <summary>Raised after a game menu is opened or replaced with another menu. This event is not invoked when a menu is closed.</summary>
public static event EventHandler<EventArgsClickableMenuChanged> MenuChanged
{
- add => MenuEvents.EventManager.Menu_Changed.Add(value);
- remove => MenuEvents.EventManager.Menu_Changed.Remove(value);
+ add => MenuEvents.EventManager.Legacy_MenuChanged.Add(value);
+ remove => MenuEvents.EventManager.Legacy_MenuChanged.Remove(value);
}
/// <summary>Raised after a game menu is closed.</summary>
public static event EventHandler<EventArgsClickableMenuClosed> MenuClosed
{
- add => MenuEvents.EventManager.Menu_Closed.Add(value);
- remove => MenuEvents.EventManager.Menu_Closed.Remove(value);
+ add => MenuEvents.EventManager.Legacy_MenuClosed.Add(value);
+ remove => MenuEvents.EventManager.Legacy_MenuClosed.Remove(value);
}