aboutsummaryrefslogtreecommitdiff
path: root/planetwars-rules/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-rules/src/config.rs')
-rw-r--r--planetwars-rules/src/config.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/planetwars-rules/src/config.rs b/planetwars-rules/src/config.rs
index 32c23f5..57c77eb 100644
--- a/planetwars-rules/src/config.rs
+++ b/planetwars-rules/src/config.rs
@@ -1,6 +1,7 @@
use std::fs::File;
use std::io;
use std::io::Read;
+use std::path::PathBuf;
use serde_json;
@@ -9,7 +10,7 @@ use super::rules::*;
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Config {
- pub map_file: String,
+ pub map_file: PathBuf,
pub max_turns: u64,
}