summaryrefslogtreecommitdiffstats
path: root/src/network/room.cpp
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2022-08-27 03:26:31 +0200
committerFearlessTobi <thm.frey@gmail.com>2022-08-27 03:26:31 +0200
commitb961b385c373fd015178f789b3dc6b0565da9056 (patch)
tree53768a573f4902ea63d35dd7dcd15dbca0572451 /src/network/room.cpp
parentcore/bsd: Correctly unbind methods in destructor (diff)
downloadyuzu-b961b385c373fd015178f789b3dc6b0565da9056.tar
yuzu-b961b385c373fd015178f789b3dc6b0565da9056.tar.gz
yuzu-b961b385c373fd015178f789b3dc6b0565da9056.tar.bz2
yuzu-b961b385c373fd015178f789b3dc6b0565da9056.tar.lz
yuzu-b961b385c373fd015178f789b3dc6b0565da9056.tar.xz
yuzu-b961b385c373fd015178f789b3dc6b0565da9056.tar.zst
yuzu-b961b385c373fd015178f789b3dc6b0565da9056.zip
Diffstat (limited to 'src/network/room.cpp')
-rw-r--r--src/network/room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/room.cpp b/src/network/room.cpp
index b06797bf1..34298f010 100644
--- a/src/network/room.cpp
+++ b/src/network/room.cpp
@@ -234,7 +234,7 @@ public:
void Room::RoomImpl::ServerLoop() {
while (state != State::Closed) {
ENetEvent event;
- if (enet_host_service(server, &event, 50) > 0) {
+ if (enet_host_service(server, &event, 5) > 0) {
switch (event.type) {
case ENET_EVENT_TYPE_RECEIVE:
switch (event.packet->data[0]) {