maybe actually starting the mirror clients would yield better results, Arisotura

This commit is contained in:
Arisotura 2023-04-05 23:07:17 +02:00
parent 3cb851eee8
commit c18378ffb0
1 changed files with 9 additions and 1 deletions

View File

@ -676,6 +676,14 @@ void SyncMirrorClients()
printf("!!! BAD!! %d %d\n", ngood, NumPlayers);
printf("[MIRROR HOST] clients synced\n");
// start
data[0] = 0x05;
pkt = enet_packet_create(&data, 1, ENET_PACKET_FLAG_RELIABLE);
enet_host_broadcast(MirrorHost, 1, pkt);
StartLocal();
}
void StartGame()
@ -938,7 +946,7 @@ void ProcessMirrorHost()
{
// all mirror clients are connected, we're ready to go
SyncMirrorClients();
StartLocal();
//StartLocal();
}
break;