1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00
This commit is contained in:
Robin Appelman 2022-08-26 00:59:28 +02:00
commit cb65c0d3ec

View file

@ -136,6 +136,7 @@ pub struct GameState {
pub buildings: Vec<Building>, pub buildings: Vec<Building>,
pub world: Option<World>, pub world: Option<World>,
pub kills: Vec<Kill>, pub kills: Vec<Kill>,
pub tick: u32,
} }
impl GameState { impl GameState {
@ -240,6 +241,7 @@ impl MessageHandler for GameStateAnalyser {
_meta: &MessagePacketMeta, _meta: &MessagePacketMeta,
_parser_state: &ParserState, _parser_state: &ParserState,
) { ) {
self.state.tick = tick;
self.tick = tick; self.tick = tick;
} }