mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-06-23 05:09:53 +00:00
fix: not checking OnChat block node (#1820)
This commit is contained in:
parent
c83797984a
commit
b6e9d6872d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user