summaryrefslogtreecommitdiff
path: root/src/worldloader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/worldloader.rs')
-rw-r--r--src/worldloader.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/worldloader.rs b/src/worldloader.rs
index 6660f9d..8745bf4 100644
--- a/src/worldloader.rs
+++ b/src/worldloader.rs
@@ -11,15 +11,13 @@ use crate::{
pub struct WorldLoader {
- pub directory: PathBuf,
- pub default_room: RoomId
+ pub directory: PathBuf
}
impl WorldLoader {
- pub fn new(path: PathBuf, default_room: RoomId) -> Self {
+ pub fn new(path: PathBuf) -> Self {
Self {
- directory: path,
- default_room
+ directory: path
}
}