Don't try to register the Anchor widgets when not built with networking enabled. (#5964)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user