mirror of
https://codeberg.org/demostf/edit.git
synced 2026-10-01 07:34:05 +02:00
player count fix wip
This commit is contained in:
parent
405c286b42
commit
04790ad6f4
9 changed files with 403 additions and 335 deletions
|
|
@ -27,7 +27,7 @@ impl MessageMutator for RemoveInvalidPreserveEntity {
|
|||
UpdateType::Enter => {
|
||||
self.known_entities.borrow_mut().insert(entity.entity_index);
|
||||
}
|
||||
UpdateType::Preserve => {
|
||||
UpdateType::Delta => {
|
||||
if !self.known_entities.borrow().contains(&entity.entity_index) {
|
||||
warn!("preserving missing entity {}", entity.entity_index);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue