[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

@ -25,8 +25,8 @@ impl QuakeClient for QuakeTwo {
QuakeOne::get_send_header()
}
fn get_response_header<'a>() -> &'a [u8] {
"print\n".as_bytes()
fn get_response_header<'a>() -> &'a str {
"print\n"
}
fn parse_player_string(mut data: Iter<&str>) -> GDResult<Self::Player> {