[Protocol] Quake change get response header to str

This commit is contained in:
CosminPerRam 2023-06-02 00:31:02 +03:00
parent 3a9bd77efe
commit 596d15df78
4 changed files with 8 additions and 8 deletions

View file

@ -14,8 +14,8 @@ impl QuakeClient for QuakeThree {
"getstatus"
}
fn get_response_header<'a>() -> &'a [u8] {
"statusResponse\n".as_bytes()
fn get_response_header<'a>() -> &'a str {
"statusResponse\n"
}
fn parse_player_string(data: Iter<&str>) -> GDResult<Self::Player> {