mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 15:13:16 +00:00
forgot 1 thing in last commit
This commit is contained in:
parent
4c837741f4
commit
b0863c95eb
1 changed files with 11 additions and 1 deletions
|
@ -608,6 +608,16 @@ impl WorldManager {
|
|||
Some(ChunkState::Listening { priority: pri, .. }) =>
|
||||
{
|
||||
*pri = priority;
|
||||
if take_auth {
|
||||
self.emit_msg(
|
||||
Destination::Peer(source),
|
||||
WorldNetMessage::LoseAuthority {
|
||||
chunk: delta.chunk_coord,
|
||||
new_priority: priority,
|
||||
new_authority: source,
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
Some(ChunkState::WantToGetAuth { authority, my_priority, .. }) =>
|
||||
{
|
||||
|
@ -630,7 +640,7 @@ impl WorldManager {
|
|||
self.chunk_state.insert(delta.chunk_coord, cs);
|
||||
}
|
||||
}
|
||||
_ if take_auth =>
|
||||
_ if take_auth =>
|
||||
{
|
||||
self.emit_msg(
|
||||
Destination::Peer(source),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue