Fix triangulation and fix skpath read function
This commit is contained in:
parent
48823ebad6
commit
e2a62e852c
3 changed files with 143 additions and 118 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue