mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +02:00
tick
This commit is contained in:
parent
307a6cf953
commit
cb65c0d3ec
1 changed files with 2 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ pub struct GameState {
|
|||
pub buildings: Vec<Building>,
|
||||
pub world: Option<World>,
|
||||
pub kills: Vec<Kill>,
|
||||
pub tick: u32,
|
||||
}
|
||||
|
||||
impl GameState {
|
||||
|
|
@ -240,6 +241,7 @@ impl MessageHandler for GameStateAnalyser {
|
|||
_meta: &MessagePacketMeta,
|
||||
_parser_state: &ParserState,
|
||||
) {
|
||||
self.state.tick = tick;
|
||||
self.tick = tick;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue