aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/statistics/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/statistics/mod.rs b/src/statistics/mod.rs
index 0254135..a46fc27 100644
--- a/src/statistics/mod.rs
+++ b/src/statistics/mod.rs
@@ -114,6 +114,8 @@ pub fn calculate(log: &Log) -> StatResult<Statistics> {
// event.time to track information related to time.
if enter_time != 0 {
agent.enter_combat = enter_time;
+ } else {
+ agent.enter_combat = log_start_time;
}
if exit_time != 0 {
agent.exit_combat = exit_time;