mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 05:53:07 +02:00
remove hacked method to keep servers alive
This commit is contained in:
parent
a8075e44ca
commit
b15f5a721b
1 changed files with 1 additions and 3 deletions
|
@ -309,9 +309,7 @@ Agent* AgentList::addOrUpdateAgent(sockaddr* publicSocket, sockaddr* localSocket
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (agent->getType() == AGENT_TYPE_AUDIO_MIXER ||
|
if (agent->getType() == AGENT_TYPE_AUDIO_MIXER ||
|
||||||
agent->getType() == AGENT_TYPE_VOXEL_SERVER ||
|
agent->getType() == AGENT_TYPE_VOXEL_SERVER) {
|
||||||
agent->getType() == AGENT_TYPE_ANIMATION_SERVER ||
|
|
||||||
agent->getType() == AGENT_TYPE_AUDIO_INJECTOR) {
|
|
||||||
// until the Audio class also uses our agentList, we need to update
|
// until the Audio class also uses our agentList, we need to update
|
||||||
// the lastRecvTimeUsecs for the audio mixer so it doesn't get killed and re-added continously
|
// the lastRecvTimeUsecs for the audio mixer so it doesn't get killed and re-added continously
|
||||||
agent->setLastHeardMicrostamp(usecTimestampNow());
|
agent->setLastHeardMicrostamp(usecTimestampNow());
|
||||||
|
|
Loading…
Reference in a new issue