mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-22 06:48:43 -06:00
fix
This commit is contained in:
parent
639685e76b
commit
f4bbfd3e8a
|
@ -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