mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +02:00
actually cleanup instance baselines
This commit is contained in:
parent
2e8d77fb0a
commit
e78c1f8608
1 changed files with 2 additions and 0 deletions
|
|
@ -205,6 +205,8 @@ impl<'a> ParserState {
|
||||||
for entity in ent_message.entities.iter() {
|
for entity in ent_message.entities.iter() {
|
||||||
if entity.pvs == PVS::Delete {
|
if entity.pvs == PVS::Delete {
|
||||||
self.entity_classes.remove(&entity.entity_index);
|
self.entity_classes.remove(&entity.entity_index);
|
||||||
|
self.instance_baselines[0].remove(&entity.entity_index);
|
||||||
|
self.instance_baselines[1].remove(&entity.entity_index);
|
||||||
}
|
}
|
||||||
self.entity_classes
|
self.entity_classes
|
||||||
.insert(entity.entity_index, entity.server_class);
|
.insert(entity.entity_index, entity.server_class);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue