summaryrefslogtreecommitdiff
path: root/tests/live_comparison.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-08-27 22:40:02 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-08-27 22:40:02 +0200
commit72a29f9844a86050c5632861f71855713878c0b5 (patch)
tree614cafe5c36aa873972a58d68487ad85887c17e0 /tests/live_comparison.rs
parent5c299a662f178832d6d0722dabdec5cf4dd73e02 (diff)
Removed unused deconstruct command
Diffstat (limited to 'tests/live_comparison.rs')
-rw-r--r--tests/live_comparison.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/live_comparison.rs b/tests/live_comparison.rs
index 045414a..c85e3fe 100644
--- a/tests/live_comparison.rs
+++ b/tests/live_comparison.rs
@@ -55,9 +55,7 @@ fn read_player_command(filename: &str) -> Command {
let point = Point::new(components.next().unwrap().trim().parse().unwrap(),
components.next().unwrap().trim().parse().unwrap());
let action_type = components.next().unwrap().trim().parse().unwrap();
- if action_type == 3 {
- Command::Deconstruct(point)
- } else if action_type == 5 {
+ if action_type == 5 {
Command::IronCurtain
} else {
Command::Build(point, BuildingType::from_u8(action_type).unwrap())