diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-19 21:12:14 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-19 21:12:14 +1000 |
commit | d682b164aa87435183a5ad3196b25b5ff8a5ad18 (patch) | |
tree | 01f05fa9d5ab78711c7cd89ae5ea343dd2b427d3 /source/client/StarClientApplication.cpp | |
parent | 0c1c3611b1b1c1b17efac547ad08a6821f3b8f01 (diff) |
more Lua voice callbacks
Diffstat (limited to 'source/client/StarClientApplication.cpp')
-rw-r--r-- | source/client/StarClientApplication.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/client/StarClientApplication.cpp b/source/client/StarClientApplication.cpp index ba2bbd1..d8d79fd 100644 --- a/source/client/StarClientApplication.cpp +++ b/source/client/StarClientApplication.cpp @@ -464,6 +464,8 @@ void ClientApplication::changeState(MainAppState newState) { } m_cinematicOverlay->stop(); + m_voice->clearSpeakers(); + if (auto p2pNetworkingService = appController()->p2pNetworkingService()) { p2pNetworkingService->setJoinUnavailable(); p2pNetworkingService->setAcceptingP2PConnections(false); |