Invisible player should not be added again

This commit is contained in:
Wiktor Mazur
2019-12-15 21:23:56 +01:00
parent e4963a5a35
commit d20223ecc8
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -563,7 +563,7 @@ mod tests {
let player_stats = zone_stats.iter().find(|s| s.player == "MAIN_CH1").unwrap();
assert_eq!(player_stats.damage, 0.0);
character_enters!(meter, "CH1", 1);
character_enters!(meter, "CH1", 2);
let zone_stats = stats(&meter, StatType::Zone);
let player_stats = zone_stats.iter().find(|s| s.player == "CH1").unwrap();
assert_eq!(player_stats.damage, 0.0);