diff options
Diffstat (limited to 'StardewModdingAPI/Inheritance/Menus/SGameMenu.cs')
-rw-r--r-- | StardewModdingAPI/Inheritance/Menus/SGameMenu.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/StardewModdingAPI/Inheritance/Menus/SGameMenu.cs b/StardewModdingAPI/Inheritance/Menus/SGameMenu.cs index 7264faac..a4d3d8d0 100644 --- a/StardewModdingAPI/Inheritance/Menus/SGameMenu.cs +++ b/StardewModdingAPI/Inheritance/Menus/SGameMenu.cs @@ -22,8 +22,7 @@ namespace StardewModdingAPI.Inheritance.Menus public static SGameMenu ConstructFromBaseClass(GameMenu baseClass) { - var s = new SGameMenu(); - s.BaseGameMenu = baseClass; + var s = new SGameMenu {BaseGameMenu = baseClass}; return s; } |