Valve Protocol: Fix BadGame reported appid

This commit is contained in:
CosminPerRam 2023-01-13 22:58:36 +02:00
parent ff789fcb90
commit 018935fd29

View file

@ -433,7 +433,7 @@ fn get_response(address: &str, port: u16, app: App, gather_settings: GatheringSe
if let App::Source(source_app) = &app {
if let Some(appid) = source_app {
if *appid != info.appid {
return Err(BadGame(format!("AppId: {}", appid)));
return Err(BadGame(format!("AppId: {}", info.appid)));
}
}
}