mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-25 21:28:20 -06:00
fix
This commit is contained in:
parent
5754dc7485
commit
38d686e583
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue