1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

fix demolish track piece as client on multiplayer

This commit is contained in:
IntelOrca
2015-11-03 22:58:30 +00:00
parent c8701ef01e
commit 800e80aeb3
4 changed files with 31 additions and 12 deletions

View File

@@ -871,10 +871,12 @@ bool Network::ProcessConnection(NetworkConnection& connection)
break;
}
} while (packetStatus == NETWORK_READPACKET_MORE_DATA || packetStatus == NETWORK_READPACKET_SUCCESS);
#if !DEBUG
if (!connection.ReceivedPacketRecently()) {
connection.last_disconnect_reason = "No Data";
return false;
}
#endif
return true;
}