forked from rosebudai/OpenRCT2-Web
fix demolish track piece as client on multiplayer
This commit is contained in:
1 parent
c8701ef01e
commit
800e80aeb3
4 files changed
+31
-12
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user