From e64aabfcf1237639fa5d53ed7e02c3a6510f4a0c Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Fri, 23 Jun 2023 20:24:40 +1000 Subject: add Nametag Directives --- source/frontend/StarMainInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/frontend/StarMainInterface.cpp') diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp index 4f40694..6c5dc1d 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -754,6 +754,7 @@ void MainInterface::update() { m_nameplatePainter->update(m_client->worldClient(), m_worldPainter->camera(), m_client->worldClient()->interactiveHighlightMode()); m_questIndicatorPainter->update(m_client->worldClient(), m_worldPainter->camera()); + m_chatBubbleManager->setCamera(m_worldPainter->camera()); if (auto worldClient = m_client->worldClient()) { auto chatActions = worldClient->pullPendingChatActions(); auto portraitActions = chatActions.filtered([](ChatAction action) { return action.is(); }); @@ -778,7 +779,6 @@ void MainInterface::update() { m_chatBubbleManager->addChatActions(chatActions); m_chatBubbleManager->update(worldClient); } - m_chatBubbleManager->setCamera(m_worldPainter->camera()); if (auto container = m_client->worldClient()->get(m_containerInteractor->openContainerId())) { if (!m_client->worldClient()->playerCanReachEntity(container->entityId()) -- cgit v1.2.3