We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c647cf9 commit a8e1f08Copy full SHA for a8e1f08
Source/Entities/Arm.cpp
@@ -181,7 +181,7 @@ void Arm::Update() {
181
m_AngularVel = 0.0F;
182
}
183
184
- if (m_HeldDeviceThisArmIsTryingToSupport && (!m_HeldDeviceThisArmIsTryingToSupport->IsSupportable() || m_HeldDeviceThisArmIsTryingToSupport->GetSupportOffset().MagnitudeIsGreaterThan(m_MaxLength * 2.0F))) {
+ if (m_HeldDeviceThisArmIsTryingToSupport && (!m_HeldDeviceThisArmIsTryingToSupport->IsSupportable() || !m_HeldDeviceThisArmIsTryingToSupport->IsBeingHeld() || m_HeldDeviceThisArmIsTryingToSupport->GetSupportOffset().MagnitudeIsGreaterThan(m_MaxLength * 2.0F))) {
185
m_HeldDeviceThisArmIsTryingToSupport = nullptr;
186
187
0 commit comments