Updates
This commit is contained in:
@@ -62,7 +62,7 @@ void TSServer::executeServerTick() {
|
||||
|
||||
size_t clientOnline = 0;
|
||||
size_t queryOnline = 0;
|
||||
for(const auto& conn : this->getClients()){
|
||||
for(const auto& conn : client_list){
|
||||
switch (conn->getType()){
|
||||
case ClientType::CLIENT_TEAMSPEAK:
|
||||
case ClientType::CLIENT_TEASPEAK:
|
||||
@@ -98,7 +98,7 @@ void TSServer::executeServerTick() {
|
||||
bool flag_update_spoken = this->spoken_time_timestamp + seconds(30) < system_clock::now();
|
||||
|
||||
system_clock::time_point tick_client_begin, tick_client_end = system_clock::now();
|
||||
for(const auto& cl : this->getClients()) {
|
||||
for(const auto& cl : client_list) {
|
||||
tick_client_begin = tick_client_end;
|
||||
if(cl->server != this) {
|
||||
logError(this->getServerId(), "Got registered client, but client does not think hes bound to this server!");
|
||||
|
||||
Reference in New Issue
Block a user