Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e80a961021 | ||
|
|
615872f29c | ||
|
|
66a817cd05 |
@@ -120,8 +120,8 @@ impl FighterStateImpl for CrouchState {
|
||||
|
||||
fn update(&mut self, state_context: &mut UpdateContext) {
|
||||
if let CrouchSubState::Entering {
|
||||
ref mut pass_queued,
|
||||
} = self.sub_state
|
||||
pass_queued,
|
||||
} = &mut self.sub_state
|
||||
{
|
||||
if state_context
|
||||
.input
|
||||
|
||||
+2
-3
@@ -116,13 +116,12 @@ impl Plugin for FighterInputPlugin {
|
||||
binding: GamepadBinding::Button(GamepadButton::North),
|
||||
action: InputMapAction::Jump,
|
||||
},
|
||||
// shield/airdodge -- both shoulder buttons, Melee-style
|
||||
GamepadInputMapElement {
|
||||
binding: GamepadBinding::Button(GamepadButton::LeftTrigger),
|
||||
binding: GamepadBinding::Button(GamepadButton::LeftTrigger2),
|
||||
action: InputMapAction::Shield,
|
||||
},
|
||||
GamepadInputMapElement {
|
||||
binding: GamepadBinding::Button(GamepadButton::RightTrigger),
|
||||
binding: GamepadBinding::Button(GamepadButton::RightTrigger2),
|
||||
action: InputMapAction::Shield,
|
||||
},
|
||||
// attack
|
||||
|
||||
Reference in New Issue
Block a user