We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcd308b commit 902069eCopy full SHA for 902069e
noita-proxy/src/net/world.rs
@@ -852,16 +852,14 @@ impl WorldManager {
852
authority,
853
my_priority,
854
..
855
- }) => {
856
- if priority <= *my_priority {
857
- let cs = ChunkState::Listening {
858
- authority: *authority,
859
- priority,
860
- };
861
- self.chunk_state.insert(delta.chunk_coord, cs);
862
- }
+ }) if priority <= *my_priority => {
+ let cs = ChunkState::Listening {
+ authority: *authority,
+ priority,
+ };
+ self.chunk_state.insert(delta.chunk_coord, cs);
863
}
864
- _ => return,
+ _ => continue,
865
866
self.inbound_model.apply_chunk_delta(&delta);
867
0 commit comments