Suppress incorrect player connected message

This commit is contained in:
MysterD 2020-09-23 00:13:34 -07:00
parent 0ca49ac4d8
commit c0a86927bc
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ u8 network_player_connected(enum NetworkPlayerType type, u8 globalIndex) {
np->lastReceived = clock(); np->lastReceived = clock();
gNetworkSystem->save_id(i); gNetworkSystem->save_id(i);
if (type == NPT_SERVER) { gNetworkPlayerServer = np; } if (type == NPT_SERVER) { gNetworkPlayerServer = np; }
chat_add_message("player connected", CMT_SYSTEM); else { chat_add_message("player connected", CMT_SYSTEM); }
LOG_INFO("player connected, local %d, global %d", i, globalIndex); LOG_INFO("player connected, local %d, global %d", i, globalIndex);
extern s16 sCurrPlayMode; extern s16 sCurrPlayMode;
if (gNetworkType == NT_SERVER && sCurrPlayMode == PLAY_MODE_SYNC_LEVEL) { if (gNetworkType == NT_SERVER && sCurrPlayMode == PLAY_MODE_SYNC_LEVEL) {