Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend
diff options
context:
space:
mode:
authorBottinator22 <59987380+Bottinator22@users.noreply.github.com>2024-12-18 22:21:32 -0800
committerGitHub <noreply@github.com>2024-12-18 22:21:32 -0800
commit7bc0f942bc3a04df71d0df393f783d645257279b (patch)
treedef4d9c21b15a5e39adb60606e7a34f44d956999 /source/frontend
parent2ffe1146866193998e65129decc378a9665fc3a9 (diff)
Update StarMainInterface.cpp
Diffstat (limited to 'source/frontend')
-rw-r--r--source/frontend/StarMainInterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp
index 41eceb7..8468f7f 100644
--- a/source/frontend/StarMainInterface.cpp
+++ b/source/frontend/StarMainInterface.cpp
@@ -117,7 +117,7 @@ MainInterface::MainInterface(UniverseClientPtr client, WorldPainterPtr painter,
m_codexInterface = make_shared<CodexInterface>(m_client->mainPlayer());
m_paneManager.registerPane(MainInterfacePanes::Codex, PaneLayer::Window, m_codexInterface);
- m_optionsMenu = make_shared<OptionsMenu>(&m_paneManager);
+ m_optionsMenu = make_shared<OptionsMenu>(&m_paneManager,m_client);
m_paneManager.registerPane(MainInterfacePanes::Options, PaneLayer::ModalWindow, m_optionsMenu);
m_popupInterface = make_shared<PopupInterface>();
@@ -1604,4 +1604,4 @@ void MainInterface::displayScriptPane(ScriptPanePtr& scriptPane, EntityId source
}
}
-} \ No newline at end of file
+}