From c86216ec6e26bb75e029802ec0935c03804813d0 Mon Sep 17 00:00:00 2001
From: Superyu1337 <development@superyu.xyz>
Date: Thu, 28 Nov 2024 22:44:07 +0100
Subject: [PATCH] fix: change map addr offset to +0x1B8

---
 src/dma/threaddata/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dma/threaddata/mod.rs b/src/dma/threaddata/mod.rs
index 0dc8060..993e172 100755
--- a/src/dma/threaddata/mod.rs
+++ b/src/dma/threaddata/mod.rs
@@ -169,7 +169,7 @@ impl CsData {
         {
             // Globals
             let tick_count_addr = (self.globals + 0x40).into();
-            let map_addr = (self.globals + 0x188).into();
+            let map_addr = (self.globals + 0x1B8).into();
 
             // Gamerules
             let bomb_dropped_addr = (self.gamerules + cs2dumper::client::C_CSGameRules::m_bBombDropped as u64).into();