From 018935fd29a7f662ceb84505ff9a8f5e890f4b28 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Fri, 13 Jan 2023 22:58:36 +0200 Subject: [PATCH] Valve Protocol: Fix BadGame reported appid --- src/protocols/valve/protocol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/valve/protocol.rs b/src/protocols/valve/protocol.rs index 80eddc8..231f4be 100644 --- a/src/protocols/valve/protocol.rs +++ b/src/protocols/valve/protocol.rs @@ -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))); } } }