Don't bother even checking to send maps if not host.

master
vexed 2012-03-26 00:20:33 -04:00
parent 0de4f38295
commit 556bbc011b
1 changed files with 7 additions and 5 deletions

View File

@ -3496,13 +3496,15 @@ void runMultiOptions(void)
char str[3];
frontendMultiMessages();
for (i = 0; i < MAX_PLAYERS; i++)
if (NetPlay.isHost)
{
// send it for each player that needs it
if (NetPlay.players[i].wzFile.isSending)
for (i = 0; i < MAX_PLAYERS; i++)
{
sendMap();
// send it for each player that needs it
if (NetPlay.players[i].wzFile.isSending)
{
sendMap();
}
}
}