From 11964d530f0ab8409b99afbdd7ec17810c005038 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Sun, 16 Oct 2022 13:10:48 +0300 Subject: [PATCH] Removed a comment that suggested that a feature doesnt work it turns out it was working, i just thought it wasnt. --- src/protocols/valve.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/valve.rs b/src/protocols/valve.rs index 42e8151..0d684eb 100644 --- a/src/protocols/valve.rs +++ b/src/protocols/valve.rs @@ -161,7 +161,7 @@ impl ValveProtocol { } }; - let steam_id = match (value & 0x10) > 0 { //doesnt work? + let steam_id = match (value & 0x10) > 0 { false => None, true => { let p = get_u64_from_buf(&buf[last_edf_position..]);