mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
no need to save spawn list anymore
This commit is contained in:
parent
ca1c67af75
commit
f1608357ad
1 changed files with 0 additions and 2 deletions
|
|
@ -237,7 +237,6 @@ pub struct World {
|
||||||
pub struct Analyser {
|
pub struct Analyser {
|
||||||
pub chat: Vec<ChatMassage>,
|
pub chat: Vec<ChatMassage>,
|
||||||
pub users: HashMap<UserId, UserInfo>,
|
pub users: HashMap<UserId, UserInfo>,
|
||||||
pub user_spawns: Vec<Spawn>,
|
|
||||||
pub deaths: Vec<Death>,
|
pub deaths: Vec<Death>,
|
||||||
pub rounds: Vec<Round>,
|
pub rounds: Vec<Round>,
|
||||||
pub start_tick: u32,
|
pub start_tick: u32,
|
||||||
|
|
@ -324,7 +323,6 @@ impl Analyser {
|
||||||
user_state.classes[spawn.class] += 1;
|
user_state.classes[spawn.class] += 1;
|
||||||
user_state.team = spawn.team;
|
user_state.team = spawn.team;
|
||||||
}
|
}
|
||||||
self.user_spawns.push(spawn);
|
|
||||||
}
|
}
|
||||||
GameEvent::TeamPlayRoundWin(event) => {
|
GameEvent::TeamPlayRoundWin(event) => {
|
||||||
if event.win_reason != WIN_REASON_TIME_LIMIT {
|
if event.win_reason != WIN_REASON_TIME_LIMIT {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue