diff options
| author | troido <troido@protonmail.com> | 2020-03-03 19:52:11 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-03 19:52:11 +0100 |
| commit | 42448500c1c2e3dd5d6a0a62c59f1f0367c12b04 (patch) | |
| tree | d075540851213a90d6d77b582a5216d9f107f8c4 /src/world.rs | |
| parent | f844ed18e29465177a339f244800fb7a2e77daa9 (diff) | |
moved default encyclopedia to data file
Diffstat (limited to 'src/world.rs')
| -rw-r--r-- | src/world.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/world.rs b/src/world.rs index f428cc1..f297d16 100644 --- a/src/world.rs +++ b/src/world.rs @@ -35,9 +35,9 @@ impl <'a, 'b>World<'a, 'b> { template_loader, persistence, default_room, - encyclopedia, + encyclopedia: encyclopedia.clone(), players: HashMap::new(), - rooms: hashmap!(purgatory::purgatory_id() => purgatory::create_purgatory()), + rooms: hashmap!(purgatory::purgatory_id() => purgatory::create_purgatory(encyclopedia)), time: Timestamp(1000000) } } |
