summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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())