Skip to content

Commit c3ca233

Browse files
committed
Set isDirectConnect field when announcing game in lobby response
1 parent e6c28a4 commit c3ca233

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Core/GameEngine/Source/GameNetwork/LANAPIhandlers.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ void LANAPI::handleRequestLocations( LANMessage *msg, UnsignedInt senderIP )
6565
strlcpy(reply.GameInfo.options, gameOpts.str(), ARRAY_SIZE(reply.GameInfo.options));
6666
wcslcpy(reply.GameInfo.gameName, m_currentGame->getName().str(), ARRAY_SIZE(reply.GameInfo.gameName));
6767
reply.GameInfo.inProgress = m_currentGame->isGameInProgress();
68+
reply.GameInfo.isDirectConnect = m_currentGame->getIsDirectConnect();
6869

6970
sendMessage(&reply);
7071
}

0 commit comments

Comments
 (0)