aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index 0e83660..4d25a9f 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -200,7 +200,9 @@ impl Event {
reward_type: raw_event.value,
},
// XXX: implement proper handling of those events!
- CbtStateChange::BuffInitial | CbtStateChange::Position | CbtStateChange::Velocity => return None,
+ CbtStateChange::BuffInitial | CbtStateChange::Position | CbtStateChange::Velocity => {
+ return None
+ }
CbtStateChange::None => if let Some(kind) = check_activation(raw_event) {
kind