From aaa1587f0c27572a243c26e449e62a85668df330 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 1 Jan 2025 22:46:37 +1100 Subject: [PATCH] Update StarPlayer.cpp [skip ci] --- source/game/StarPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game/StarPlayer.cpp b/source/game/StarPlayer.cpp index 48368ec..c094bbb 100644 --- a/source/game/StarPlayer.cpp +++ b/source/game/StarPlayer.cpp @@ -1086,7 +1086,7 @@ void Player::update(float dt, uint64_t) { } if (calculateHeadRotation) { // master or not an OpenStarbound player float headRotation = 0.f; - if (m_humanoid->primaryHandHoldingItem() || m_humanoid->altHandHoldingItem()) { + if (m_humanoid->primaryHandHoldingItem() || m_humanoid->altHandHoldingItem() || m_humanoid->dance()) { auto primary = m_tools->primaryHandItem(); auto alt = m_tools->altHandItem(); String const disableFlag = "disableHeadRotation";