diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-03-20 12:47:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-20 12:47:38 -0500 |
| commit | 8ba03150f65932a4d44b00770373047ec3306c01 (patch) | |
| tree | 3c25903a9b93626baf9b8c7244cd1f5a619517f3 | |
| parent | 64a93f8e222c15373076b6abf6b8f401845bdf57 (diff) | |
| parent | f113396ad365f4812d08ec1f4f75599076b6e38a (diff) | |
Merge pull request #496 from AttorneyOnline/fix/demos-fix
Fix demos being recorded with incorrect timing. ⚠HUGE, VERY IMPORTANT FIX⚠
| -rw-r--r-- | src/packet_distribution.cpp | 2 |
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); } } |
