diff options
| author | Malkierian <malkierian@gmail.com> | 2025-11-14 14:28:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-14 14:28:49 -0700 |
| commit | 05233487f8b16cec3f6ef13a86ff4cfacd4f92b6 (patch) | |
| tree | 789db29fdbf0c6f2edcfe1695272c1bd25f48a15 | |
| parent | 16909c47cdebc78f6cc28bfe46620d1b3392d3a9 (diff) | |
Don't try to register the Anchor widgets when not built with networking enabled. (#5964)
| -rw-r--r-- | soh/soh/Network/Anchor/Menu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/soh/soh/Network/Anchor/Menu.cpp b/soh/soh/Network/Anchor/Menu.cpp index 5a1d5fc43..9c4530431 100644 --- a/soh/soh/Network/Anchor/Menu.cpp +++ b/soh/soh/Network/Anchor/Menu.cpp @@ -222,6 +222,7 @@ void AnchorInstructionsMenu(WidgetInfo& info) { "the same randomizer seed, while players on different teams can use different seeds."); } +#ifdef ENABLE_REMOTE_CONTROL void RegisterAnchorMenu() { WidgetPath path = { "Network", "Anchor", SECTION_COLUMN_1 }; SohGui::mSohMenu->AddWidget(path, "AnchorMainMenu", WIDGET_CUSTOM) @@ -237,3 +238,4 @@ void RegisterAnchorMenu() { } static RegisterMenuInitFunc menuInitFunc(RegisterAnchorMenu); +#endif |
