mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
[Protocol] Quake change get response header to str
This commit is contained in:
parent
3a9bd77efe
commit
596d15df78
4 changed files with 8 additions and 8 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue