From 82aa99f858deef1670a5122daf137af683e1b556 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 21 Apr 2020 20:35:37 -0400 Subject: [PATCH] CScriptCameraWaypoint: Fix Arrived --- Runtime/World/CScriptCameraWaypoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/World/CScriptCameraWaypoint.cpp b/Runtime/World/CScriptCameraWaypoint.cpp index 6fd378042..4ead129db 100644 --- a/Runtime/World/CScriptCameraWaypoint.cpp +++ b/Runtime/World/CScriptCameraWaypoint.cpp @@ -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); }