Revert to old ingame check

This commit is contained in:
Janek
2023-12-07 06:03:01 +01:00
parent e1ff81d15d
commit 815b649511
2 changed files with 5 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ pub async fn run(connector: Connector, pcileech_device: String, poll_rate: u16,
log::debug!("Rebuilt cache.");
}
if sdk::is_ingame(&mut ctx)? {
if sdk::network_is_ingame(&mut ctx)? {
let mut radar_data = Vec::with_capacity(64);
if sdk::is_bomb_planted(&mut ctx)? {