aboutsummaryrefslogtreecommitdiffstats
path: root/src/server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server.rs b/src/server.rs
index aa3e3dc..1b31338 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -303,9 +303,7 @@ fn imperative_attack_attack(
position.0,
target_player,
)));
- if ability_slot != AbilitySlot::A {
- *imperative = Imperative::Idle;
- }
+ *imperative = Imperative::AttackTarget(AbilitySlot::A, target_player);
}
}
}