From 99baa035824b82014ca084e70581333fa447c431 Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 18 Feb 2023 17:35:05 -0700 Subject: [PATCH] small cleanup --- src/ship/quests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ship/quests.rs b/src/ship/quests.rs index e0b8c8c..4f5eb26 100644 --- a/src/ship/quests.rs +++ b/src/ship/quests.rs @@ -271,10 +271,10 @@ pub fn load_quests_path(mut quest_path: PathBuf) -> Result Result { match mode { - RoomMode::Single {episode, difficulty } => { + RoomMode::Single {episode, .. } => { load_quests_path(PathBuf::from_iter(["data", "quests", "bb", &episode.to_string(), "single", "quests.toml"])) }, - RoomMode::Multi {episode, difficulty } => { + RoomMode::Multi {episode, .. } => { load_quests_path(PathBuf::from_iter(["data", "quests", "bb", &episode.to_string(), "multi", "quests.toml"])) }, _ => { @@ -286,10 +286,10 @@ pub fn load_standard_quests(mode: RoomMode) -> Result pub fn load_government_quests(mode: RoomMode) -> Result { match mode { - RoomMode::Single {episode, difficulty } => { + RoomMode::Single {episode, .. } => { load_quests_path(PathBuf::from_iter(["data", "quests", "bb", &episode.to_string(), "government", "quests.toml"])) }, - RoomMode::Multi {episode, difficulty } => { + RoomMode::Multi {episode, .. } => { load_quests_path(PathBuf::from_iter(["data", "quests", "bb", &episode.to_string(), "government", "quests.toml"])) }, _ => {