Don't try to register the Anchor widgets when not built with networking enabled. (#5964)

This commit is contained in:
Malkierian
2025-11-14 14:28:49 -07:00
committed by GitHub
parent 16909c47cd
commit 05233487f8

View File

@@ -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