mirror of
https://github.com/demostf/cutter.git
synced 2026-06-03 20:04:07 +02:00
fix first entities
This commit is contained in:
parent
73a6e326ce
commit
fc1a00be42
4 changed files with 4 additions and 6 deletions
|
|
@ -112,9 +112,7 @@ impl ActiveEntities {
|
|||
),
|
||||
];
|
||||
for entity in self.entities.values_mut() {
|
||||
if state.instance_baselines[0].contains(entity.entity_index) {
|
||||
entity.update_type = UpdateType::Preserve;
|
||||
} else {
|
||||
if !state.instance_baselines[0].contains(entity.entity_index) {
|
||||
entity.update_type = UpdateType::Enter;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue