Fix triangulation and fix skpath read function

This commit is contained in:
Yousef Khadadeh 2026-05-31 13:36:12 +03:00
parent 48823ebad6
commit e2a62e852c
3 changed files with 143 additions and 118 deletions

View file

@ -44,12 +44,9 @@ void NetServer::update() {
if(client->setToDisconnect)
disconnectCallback(client);
else {
#ifdef NDEBUG
try {
#endif
client->parse_received_messages(*this);
client->send_queued_messages(*this);
#ifdef NDEBUG
}
catch(const std::exception& e) {
Logger::get().log(Logger::LogType::INFO, "[NetServer::update] Exception thrown while parsing and sending messages for a client: " + std::string(e.what()));
@ -61,7 +58,6 @@ void NetServer::update() {
client->setToDisconnect = true;
disconnectCallback(client);
}
#endif
}
}
}