diff --git a/src/client/component/network.cpp b/src/client/component/network.cpp index 45214d40..9e85edba 100644 --- a/src/client/component/network.cpp +++ b/src/client/component/network.cpp @@ -144,10 +144,7 @@ namespace network }); // TODO: Fix that - scheduler::once([] - { - create_ip_socket(); - }, scheduler::main); + scheduler::once(create_ip_socket, scheduler::main); /*std::thread([] {