mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-15 04:38:21 +00:00
fix delay
This commit is contained in:
parent
5612e57590
commit
8dd7553421
@ -149,7 +149,9 @@ void MovementAIComponent::HandleWaypointCommandUnequipInventory(const std::strin
|
|||||||
float MovementAIComponent::HandleWaypointCommandDelay(const std::string& data) {
|
float MovementAIComponent::HandleWaypointCommandDelay(const std::string& data) {
|
||||||
float delay = 0.0f;
|
float delay = 0.0f;
|
||||||
std::string delayString = data;
|
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;
|
return delay;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user