diff --git a/NewHorizons/Utility/DebugMenu/DebugMenu.cs b/NewHorizons/Utility/DebugMenu/DebugMenu.cs index f2ff856d..5138492c 100644 --- a/NewHorizons/Utility/DebugMenu/DebugMenu.cs +++ b/NewHorizons/Utility/DebugMenu/DebugMenu.cs @@ -158,6 +158,12 @@ namespace NewHorizons.Utility.DebugMenu } GUI.enabled = true; GUILayout.EndHorizontal(); + + if (GUILayout.Button("Print config changes for your mod")) + { + PrintLoadedConfigChangesForRecentSystem(); + saveButtonUnlocked = false; + } } GUILayout.Space(20); @@ -267,6 +273,14 @@ namespace NewHorizons.Utility.DebugMenu } } + private void PrintLoadedConfigChangesForRecentSystem() + { + foreach(DebugSubmenu menu in submenus) + { + menu.PrintNewConfigSection(this); + } + } + private void InitMenu() { if (_editorMenuStyle != null) return;