From cbec956957982311fbf9f2e34f5f7fbe72b56e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogdan=20Gligorijevi=C4=87?= Date: Wed, 13 Nov 2024 21:10:27 +0100 Subject: [PATCH] Replay logic for 2.0.X --- crates/w3replay/src/replay.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/w3replay/src/replay.rs b/crates/w3replay/src/replay.rs index ad4ba719..28ff6308 100644 --- a/crates/w3replay/src/replay.rs +++ b/crates/w3replay/src/replay.rs @@ -129,6 +129,11 @@ fn get_header_game_version(version: &str) -> Result { 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())), } }