diff --git a/MiraAPI/Hud/CustomPhoneMenu.cs b/MiraAPI/Hud/CustomPhoneMenu.cs index a6327982..608674b2 100644 --- a/MiraAPI/Hud/CustomPhoneMenu.cs +++ b/MiraAPI/Hud/CustomPhoneMenu.cs @@ -328,6 +328,15 @@ public abstract class CustomPhoneMenu : ICustomMenu button.UnselectedColor = uColor; } } + + /// + /// Implicitly converts to the the wraps. + /// + /// The menu instance. + public static implicit operator Minigame(CustomPhoneMenu menu) + { + return menu.Component; + } } ///