FM
Remove `mod.nr` file detection.  This is the newer syntax for the module system, still receiving feedback on whether people like this. We can always change back, if it is more confusing than the other.
@@ -6,7 +6,6 @@ use std::path::{Path, PathBuf};
pub use util::*;
const FILE_EXTENSION: &'static str = "nr";
-const MOD_FILE: &'static str = "mod";
// XXX: Create a trait for file io
/// An enum to differentiate between the root file
@@ -75,10 +74,6 @@ impl FileManager {
dir.to_path_buf()
.join(&format!("{}.{}", mod_name, FILE_EXTENSION)),
);
- candidate_files.push(
- dir.to_path_buf()
- .join(&format!("{}/{}.{}", mod_name, MOD_FILE, FILE_EXTENSION)),
- );
for candidate in candidate_files.iter() {
if let Some(file_id) = self.add_file(candidate, FileType::Normal) {
