mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 15:13:16 +00:00
Reduce logging levels in some cases
This commit is contained in:
parent
7df1b62ef6
commit
839cca71da
1 changed files with 4 additions and 4 deletions
|
@ -790,7 +790,7 @@ impl WorldManager {
|
||||||
current_authority,
|
current_authority,
|
||||||
} => {
|
} => {
|
||||||
if self.chunk_state.get(&chunk) != Some(&ChunkState::UnloadPending) {
|
if self.chunk_state.get(&chunk) != Some(&ChunkState::UnloadPending) {
|
||||||
info!("Will request authority transfer");
|
debug!("Will request authority transfer");
|
||||||
self.chunk_state.insert(chunk, ChunkState::Transfer);
|
self.chunk_state.insert(chunk, ChunkState::Transfer);
|
||||||
self.emit_msg(
|
self.emit_msg(
|
||||||
Destination::Peer(current_authority),
|
Destination::Peer(current_authority),
|
||||||
|
@ -807,7 +807,7 @@ impl WorldManager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
WorldNetMessage::RequestAuthorityTransfer { chunk } => {
|
WorldNetMessage::RequestAuthorityTransfer { chunk } => {
|
||||||
info!("Got a request for authority transfer");
|
debug!("Got a request for authority transfer");
|
||||||
let state = self.chunk_state.get(&chunk);
|
let state = self.chunk_state.get(&chunk);
|
||||||
if let Some(ChunkState::Authority { listeners, .. }) = state {
|
if let Some(ChunkState::Authority { listeners, .. }) = state {
|
||||||
let chunk_data = self.outbound_model.get_chunk_data(chunk);
|
let chunk_data = self.outbound_model.get_chunk_data(chunk);
|
||||||
|
@ -837,7 +837,7 @@ impl WorldManager {
|
||||||
chunk_data,
|
chunk_data,
|
||||||
listeners,
|
listeners,
|
||||||
} => {
|
} => {
|
||||||
info!("Transfer ok");
|
debug!("Transfer ok");
|
||||||
if let Some(chunk_data) = chunk_data {
|
if let Some(chunk_data) = chunk_data {
|
||||||
self.inbound_model.apply_chunk_data(chunk, &chunk_data);
|
self.inbound_model.apply_chunk_data(chunk, &chunk_data);
|
||||||
self.outbound_model.apply_chunk_data(chunk, &chunk_data);
|
self.outbound_model.apply_chunk_data(chunk, &chunk_data);
|
||||||
|
@ -874,7 +874,7 @@ impl WorldManager {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
WorldNetMessage::NotifyNewAuthority { chunk } => {
|
WorldNetMessage::NotifyNewAuthority { chunk } => {
|
||||||
info!("Notified of new authority");
|
debug!("Notified of new authority");
|
||||||
let state = self.chunk_state.get_mut(&chunk);
|
let state = self.chunk_state.get_mut(&chunk);
|
||||||
if let Some(ChunkState::Listening { authority, .. }) = state {
|
if let Some(ChunkState::Listening { authority, .. }) = state {
|
||||||
*authority = source;
|
*authority = source;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue