diff --git a/src/game/src/main.cpp b/src/game/src/main.cpp index b8785ce..f1e36e9 100644 --- a/src/game/src/main.cpp +++ b/src/game/src/main.cpp @@ -711,12 +711,12 @@ void destroy() if (p2p_listener) { evconnlistener_free(p2p_listener); - tcp_listener = nullptr; + p2p_listener = nullptr; } if (dns_base) { evdns_base_free(dns_base, 0); - ev_base = nullptr; + dns_base = nullptr; } if (ev_base) {