Fix run direction not being taken into account when accelerating (Fixes #11) (#35)
CI / build-and-test (push) Successful in 10m58s
CI / build-and-test (push) Successful in 10m58s
Reviewed-on: #35 Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #35.
This commit is contained in:
@@ -150,6 +150,7 @@ pub struct UpdateContext<'a> {
|
||||
pub fighter_attributes: &'a FighterAttributes,
|
||||
pub attack_scripts: &'a Assets<FighterAttackScript>,
|
||||
pub attack_script_assets: &'a FighterAttackScriptAssets,
|
||||
pub facing_direction: &'a FighterFacingDirection,
|
||||
}
|
||||
|
||||
impl UpdateContext<'_> {
|
||||
@@ -290,6 +291,7 @@ impl<'w, 's> FighterFrameQueryItem<'w, 's> {
|
||||
fighter_attributes: attributes,
|
||||
attack_scripts,
|
||||
attack_script_assets,
|
||||
facing_direction: &self.facing_direction
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user