CScriptCameraWaypoint: Fix Arrived

This commit is contained in:
Luke Street 2020-04-21 20:35:37 -04:00
parent 1571531cd7
commit 82aa99f858
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ void CScriptCameraWaypoint::Accept(IVisitor& visitor) { visitor.Visit(this); }
void CScriptCameraWaypoint::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr) {
CActor::AcceptScriptMsg(msg, uid, mgr);
if (!GetActive() && msg == EScriptObjectMessage::Arrived)
if (GetActive() && msg == EScriptObjectMessage::Arrived)
SendScriptMsgs(EScriptObjectState::Arrived, mgr, EScriptObjectMessage::None);
}