We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a2926 commit 09e6ce7Copy full SHA for 09e6ce7
Core/GameEngine/Source/GameNetwork/ConnectionManager.cpp
@@ -1771,6 +1771,7 @@ void ConnectionManager::quitGame() {
1771
// Need to do the NetDisconnectPlayerCommandMsg creation and sending here.
1772
NetDisconnectPlayerCommandMsg *disconnectMsg = newInstance(NetDisconnectPlayerCommandMsg);
1773
disconnectMsg->setDisconnectSlot(m_localSlot);
1774
+ disconnectMsg->setDisconnectFrame(TheGameLogic->getFrame());
1775
disconnectMsg->setPlayerID(m_localSlot);
1776
if (DoesCommandRequireACommandID(disconnectMsg->getNetCommandType())) {
1777
disconnectMsg->setID(GenerateNextCommandID());
0 commit comments