summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-04-13 01:43:36 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-04-13 01:43:36 +0300
commit1f17536cc8b0922ade8c68046ee1665ccec817d9 (patch)
tree9ce641e09672fa6ffae9b98e738251417b32a230 /indra
parent1dacabe780cba99015203e98cc0c66fbcb660c80 (diff)
#3900 Skip checking AFK status during startup states
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llappviewer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index be22813f6b..319c029df5 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -447,6 +447,12 @@ static bool app_metrics_qa_mode = false;
void idle_afk_check()
{
+ // Don't check AFK status during startup states
+ if (LLStartUp::getStartupState() < STATE_STARTED)
+ {
+ return;
+ }
+
// check idle timers
F32 current_idle = gAwayTriggerTimer.getElapsedTimeF32();
LLCachedControl<S32> afk_timeout(gSavedSettings, "AFKTimeout", 300);