mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
fix delay
This commit is contained in:
@@ -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<float>(delayString, delay)) return;
|
||||
if (!GeneralUtils::TryParse<float>(delayString, delay)){
|
||||
Game::logger->LogDebug("MovementAIComponentAronwk", "Failed to parse delay %s", data.c_str());
|
||||
}
|
||||
return delay;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user