Fix settings

This commit is contained in:
IQuant 2024-07-12 23:31:54 +03:00
parent 065b44cf90
commit 43de8bd6a3
3 changed files with 3 additions and 2 deletions

View file

@ -1962,7 +1962,7 @@ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
[[package]] [[package]]
name = "noita-proxy" name = "noita-proxy"
version = "0.13.7" version = "0.13.8"
dependencies = [ dependencies = [
"argh", "argh",
"bincode", "bincode",

View file

@ -4,7 +4,7 @@ members = ["tangled"]
[package] [package]
name = "noita-proxy" name = "noita-proxy"
description = "Noita Entangled Worlds companion app." description = "Noita Entangled Worlds companion app."
version = "0.13.7" version = "0.13.8"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -211,6 +211,7 @@ impl App {
} else { } else {
info!("Using constant seed: {}", settings.seed); info!("Using constant seed: {}", settings.seed);
} }
*netman.pending_settings.lock().unwrap() = settings.clone();
netman.accept_local.store(true, Ordering::SeqCst); netman.accept_local.store(true, Ordering::SeqCst);
} }
fn start_connect(&mut self, addr: SocketAddr) { fn start_connect(&mut self, addr: SocketAddr) {