mirror of
https://github.com/demostf/cutter.git
synced 2026-06-03 11:54:08 +02:00
use correct? baseline for class comparisons
This commit is contained in:
parent
a3d298d0d6
commit
746783b9d7
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ impl ActiveEntities {
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
for entity in self.entities.values_mut() {
|
for entity in self.entities.values_mut() {
|
||||||
match state.instance_baselines[1].get(entity.entity_index) {
|
match state.instance_baselines[0].get(entity.entity_index) {
|
||||||
Some(baseline_entity) if baseline_entity.server_class == entity.server_class => {
|
Some(baseline_entity) if baseline_entity.server_class == entity.server_class => {
|
||||||
entity.update_type = UpdateType::Preserve;
|
entity.update_type = UpdateType::Preserve;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue