diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index b898fb5..de2940d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,7 @@ use std::path::Path; use time::{Duration, PreciseTime}; -use steam_powered_wyrm::command::Command; +use steam_powered_wyrm::command::{Command, Action}; use steam_powered_wyrm::strategy::choose_move; use steam_powered_wyrm::json; use steam_powered_wyrm::game; @@ -39,7 +39,7 @@ fn main() { }, Err(e) => { eprintln!("WARN: State file could not be parsed: {}", e); - Command::DoNothing + Command::new(Action::DoNothing) } }; println!("C;{};{}", round_number, command); |