- fix headless network comamnd bug

This commit is contained in:
SoftCoder
2015-12-26 13:14:22 -08:00
parent 6eb7a1e625
commit 08713078b6
2 changed files with 2 additions and 2 deletions

View File

@@ -992,7 +992,7 @@ void ConnectionSlot::update(bool checkForNewClients,int lockedSlotIndex) {
}
NetworkMessageLaunch networkMessageLaunch;
if(receiveMessage(&networkMessageLaunch)) {
if(receiveMessage(&networkMessageLaunch,networkMessageType)) {
if(networkMessageLaunch.getMessageType() == nmtLaunch) {
if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s Lined: %d] got nmtLaunch\n",__FILE__,__FUNCTION__,__LINE__);
//printf("Got launch request from client joinGameInProgress = %d joinGameInProgress = %d!\n",joinGameInProgress,joinGameInProgress);