From 8dd755342110f0a9cff51a6ea23ae5c01ca798f6 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Sun, 20 Aug 2023 00:36:28 -0500 Subject: [PATCH] fix delay --- dGame/dComponents/MovementAIComponentAronwk.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dGame/dComponents/MovementAIComponentAronwk.cpp b/dGame/dComponents/MovementAIComponentAronwk.cpp index e8993c2d..367c01aa 100644 --- a/dGame/dComponents/MovementAIComponentAronwk.cpp +++ b/dGame/dComponents/MovementAIComponentAronwk.cpp @@ -149,7 +149,9 @@ void MovementAIComponent::HandleWaypointCommandUnequipInventory(const std::strin float MovementAIComponent::HandleWaypointCommandDelay(const std::string& data) { float delay = 0.0f; std::string delayString = data; - if (!GeneralUtils::TryParse(delayString, delay)) return; + if (!GeneralUtils::TryParse(delayString, delay)){ + Game::logger->LogDebug("MovementAIComponentAronwk", "Failed to parse delay %s", data.c_str()); + } return delay; }