mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
Valve Protocol: Fix BadGame reported appid
This commit is contained in:
parent
ff789fcb90
commit
018935fd29
1 changed files with 1 additions and 1 deletions
|
|
@ -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)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue