fix: not checking OnChat block node (#1820)

This commit is contained in:
David Markowitz 2025-06-19 18:39:36 -07:00 committed by GitHub
parent c83797984a
commit b6e9d6872d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,7 +111,7 @@ void Strip::OnChatMessageReceived(const std::string& sMessage) {
if (m_PausedTime > 0.0f || !HasMinimumActions()) return; if (m_PausedTime > 0.0f || !HasMinimumActions()) return;
const auto& nextAction = GetNextAction(); const auto& nextAction = GetNextAction();
if (nextAction.GetValueParameterString() == sMessage) { if (nextAction.GetType() == "OnChat" && nextAction.GetValueParameterString() == sMessage) {
IncrementAction(); IncrementAction();
m_WaitingForAction = false; m_WaitingForAction = false;
} }