fix turn cycler plugin overriding others

This commit is contained in:
Dustin Carlino 2018-10-06 11:30:50 -07:00
parent 0048f90734
commit 8c7e89702f

View File

@ -57,7 +57,8 @@ impl TurnCyclerState {
}
match self {
TurnCyclerState::Inactive => false,
TurnCyclerState::Active(_, _) => true,
// Only once they start tabbing through turns does this plugin block other input.
TurnCyclerState::Active(_, current_turn_index) => current_turn_index.is_some(),
TurnCyclerState::Intersection(_) => false,
}
}