mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
maybe fix last world sync change
This commit is contained in:
parent
e2a184703d
commit
5da2f90e69
1 changed files with 2 additions and 2 deletions
|
@ -541,7 +541,7 @@ impl WorldManager {
|
|||
}
|
||||
}
|
||||
WorldNetMessage::GotAuthority { chunk, chunk_data, priority } => {
|
||||
if self.chunk_state.get(&chunk) == Some(&ChunkState::WaitingForAuthority)
|
||||
if self.chunk_state.get(&chunk) != Some(&ChunkState::UnloadPending)
|
||||
{
|
||||
if let Some(chunk_data) = chunk_data {
|
||||
self.inbound_model.apply_chunk_data(chunk, chunk_data);
|
||||
|
@ -679,7 +679,7 @@ impl WorldManager {
|
|||
chunk,
|
||||
current_authority,
|
||||
} => {
|
||||
if self.chunk_state.get(&chunk) == Some(&ChunkState::WaitingForAuthority)
|
||||
if self.chunk_state.get(&chunk) != Some(&ChunkState::UnloadPending)
|
||||
{
|
||||
info!("Will request authority transfer");
|
||||
self.chunk_state.insert(chunk, ChunkState::Transfer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue