1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

packetentities write?

This commit is contained in:
Robin Appelman 2021-07-19 23:18:29 +02:00
commit 4843fe0600
5 changed files with 327 additions and 15 deletions

View file

@ -263,7 +263,7 @@ impl Encode for UpdateStringTableMessage<'_> {
Some(table) => Ok(stream.reserve_length(20, |stream| {
write_string_table_update(&self.entries, stream, table)
})?),
None => return Err(ParseError::StringTableNotFound(self.table_id)),
None => Err(ParseError::StringTableNotFound(self.table_id)),
}
}
}