Allow use of multiple ENet channels

This commit is contained in:
Cameron Gutman committed 2023-07-04 15:48:31 -05:00
1 parent 11aedf56a2
commit 810945f5bf
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ namespace net {
enet_address_set_host(&addr, "0.0.0.0");
enet_address_set_port(&addr, port);
return host_t { enet_host_create(AF_INET, &addr, peers, 1, 0, 0) };
return host_t { enet_host_create(AF_INET, &addr, peers, 0, 0, 0) };
}
void