From d8f8dfc53fd95e3dc1451b93eb9889548211f637 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Thu, 11 Jan 2024 20:56:17 -0800 Subject: [PATCH] fix Ep3 NTE disconnect on leaving game --- src/Client.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Client.cc b/src/Client.cc index 8573028d..c519a8ef 100644 --- a/src/Client.cc +++ b/src/Client.cc @@ -272,6 +272,7 @@ void Client::convert_license_to_temporary_if_nte() { this->license->delete_file(); *new_l = std::move(*this->license); this->set_license(new_l); + this->config.clear_flag(Client::Flag::LICENSE_WAS_CREATED); } }