From 96e2ffc5f1ce1ff6163fc7fa31d51a6c36a9c0d5 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 9 Jun 2022 18:38:42 +0200 Subject: sdkljhfgjkhsdfgkjlhsgdf --- client/src/world/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/world/mod.rs') diff --git a/client/src/world/mod.rs b/client/src/world/mod.rs index 8a16016..7b25a53 100644 --- a/client/src/world/mod.rs +++ b/client/src/world/mod.rs @@ -2,9 +2,9 @@ use self::{map::Map, tee::Tees}; use crate::client::{helper::get_map_path, ClientMesgOut}; use std::fs::File; +pub mod helper; pub mod map; pub mod tee; -pub mod helper; pub use gamenet::enums; @@ -26,7 +26,7 @@ impl World { match m { ClientMesgOut::MapChange { name, crc } => { let file = File::open(get_map_path(name.as_str(), *crc)).unwrap(); - self.map = Map::load(file).unwrap(); + self.map = Map::load(file, name.as_str(), *crc).unwrap(); } _ => (), } -- cgit v1.2.3-70-g09d2