limit workers per resource deposit

This commit is contained in:
Jim 2025-09-02 09:49:20 -04:00
parent 283b86d04a
commit 2d4dc3c708
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
6 changed files with 33 additions and 10 deletions

View file

@ -67,6 +67,7 @@ fn spawn(
bounty: Quantity { souls: 0, bones: 5 },
level: 0,
harvest_time: Duration::from_secs(5),
max_workers: 2,
},
Mesh3d(res.mesh.clone()),
MeshMaterial3d(res.material.clone()),