aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/packet_distribution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp
index e8f98e17..8f3464a1 100644
--- a/src/packet_distribution.cpp
+++ b/src/packet_distribution.cpp
@@ -110,11 +110,11 @@ void AOApplication::append_to_demofile(QString packet_string)
if (get_auto_logging_enabled() && !log_filename.isEmpty())
{
QString path = log_filename.left(log_filename.size()).replace(".log", ".demo");
- append_to_file(packet_string, path, true);
if (!demo_timer.isValid())
demo_timer.start();
else
append_to_file("wait#"+ QString::number(demo_timer.restart()) + "#%", path, true);
+ append_to_file(packet_string, path, true);
}
}