This commit is contained in:
griffi-gh 2023-03-07 04:56:51 +01:00
parent 5754dc7485
commit 38d686e583
2 changed files with 4 additions and 3 deletions

View file

@ -4,4 +4,4 @@ max_clients = 254
timeout_ms = 10000 timeout_ms = 10000
[world] [world]
seed = 0xbeef_face_dead_cafe seed = 0xfeb_face_dead_cafe

View file

@ -14,7 +14,7 @@ pub mod tasks;
use chunk::Chunk; use chunk::Chunk;
use self::{tasks::{ChunkTaskManager, ChunkTask, ChunkTaskResponse}, chunk::ChunkState}; use self::{tasks::{ChunkTaskManager, ChunkTask, ChunkTaskResponse, init_chunk_task_manager}, chunk::ChunkState};
#[derive(Unique, Default)] #[derive(Unique, Default)]
pub struct ChunkManager { pub struct ChunkManager {
@ -99,7 +99,8 @@ fn init_chunk_manager(
pub fn init_world() -> Workload { pub fn init_world() -> Workload {
( (
init_chunk_manager init_chunk_manager,
init_chunk_task_manager,
).into_workload() ).into_workload()
} }