summaryrefslogtreecommitdiff
path: root/src/strategy/sample.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/strategy/sample.rs')
-rw-r--r--src/strategy/sample.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/strategy/sample.rs b/src/strategy/sample.rs
index 72ab66c..2dad924 100644
--- a/src/strategy/sample.rs
+++ b/src/strategy/sample.rs
@@ -1,11 +1,9 @@
use engine;
use engine::command::*;
-use time::PreciseTime;
-
use rand::{thread_rng, Rng};
-pub fn choose_move(settings: &engine::settings::GameSettings, state: &engine::GameState, _start_time: &PreciseTime) -> Command {
+pub fn choose_move(settings: &engine::settings::GameSettings, state: &engine::GameState) -> Command {
let mut rng = thread_rng();
if state.player.can_afford_defence_buildings(settings) {