summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-06 20:04:29 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-06 20:04:29 +0100
commit44ef37bca0aa633f8c59d849946faf2319c5446b (patch)
treedbfcb7104dc6621cb766148ab2289d32d5f261e0 /world
parent6af8b165fe8cbab35721a8797ca85cda454a5ff4 (diff)
downloadweareserver-44ef37bca0aa633f8c59d849946faf2319c5446b.tar
weareserver-44ef37bca0aa633f8c59d849946faf2319c5446b.tar.bz2
weareserver-44ef37bca0aa633f8c59d849946faf2319c5446b.tar.zst
a
Diffstat (limited to 'world')
-rw-r--r--world/src/main.rs24
1 files changed, 12 insertions, 12 deletions
diff --git a/world/src/main.rs b/world/src/main.rs
index 4f433ba..d7272fe 100644
--- a/world/src/main.rs
+++ b/world/src/main.rs
@@ -115,18 +115,18 @@ fn main() -> Result<()> {
let ob = Object::new();
Packet::Add(ob, store.set(&prefab.write_alloc())?).write(&mut sock)?;
- let mut sock2 = sock.try_clone().unwrap();
- thread::spawn(move || {
- let mut x = 0.;
- loop {
- Packet::Position(ob, Vec3A::ZERO, vec3a(x, x * 0.3, x * 0.1))
- .write(&mut sock2)
- .unwrap();
- sock2.flush().unwrap();
- x += 0.1;
- sleep(Duration::from_millis(50));
- }
- });
+ // let mut sock2 = sock.try_clone().unwrap();
+ // thread::spawn(move || {
+ // let mut x = 0.;
+ // loop {
+ // Packet::Position(ob, Vec3A::ZERO, vec3a(x, x * 0.3, x * 0.1))
+ // .write(&mut sock2)
+ // .unwrap();
+ // sock2.flush().unwrap();
+ // x += 0.1;
+ // sleep(Duration::from_millis(50));
+ // }
+ // });
if args.push {
store.iter(|d| {