From 2966a42093b32665e5d26c222a06511f757423e5 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Sun, 16 Jan 2022 18:30:00 +0000 Subject: [PATCH] Added mounted combat --- common/systems/src/character_behavior.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/common/systems/src/character_behavior.rs b/common/systems/src/character_behavior.rs index 26838fe3e5..f0712c5531 100644 --- a/common/systems/src/character_behavior.rs +++ b/common/systems/src/character_behavior.rs @@ -212,10 +212,11 @@ impl<'a> System<'a> for Sys { // If mounted, character state is controlled by mount if is_rider.is_some() { let idle_state = CharacterState::Idle(idle::Data { is_sneaking: false }); - if *join_struct.char_state != idle_state { - *join_struct.char_state = idle_state; - } - continue; + // TODO: A better way to swap between mount inputs and rider + // inputs if *join_struct.char_state != + // idle_state { *join_struct.char_state = + // idle_state; } + // continue; } let j = JoinData::new(