Skip to content

Commit

Permalink
Replay logic for 2.0.X
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanW3 committed Nov 13, 2024
1 parent 88f33e7 commit cbec956
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/w3replay/src/replay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ fn get_header_game_version(version: &str) -> Result<GameVersion> {
build_number: 6115,
..Default::default()
}),
version if version.starts_with("2.0.") => Ok(GameVersion {
version: 10100,
build_number: 6115,
..Default::default()
}),
other => Err(Error::UnsupportedGameVersion(other.to_string())),
}
}
Expand Down

0 comments on commit cbec956

Please sign in to comment.