Core/Transport: fix logic error

Port From (https://github.com/TrinityCore/TrinityCore/commit/a90f60f7d3b482072d0ae3dbfd49580a3ef9ce88)
This commit is contained in:
hondacrx
2020-06-19 19:51:27 -04:00
parent 4fb3805d8a
commit bacae3c190
+1 -1
View File
@@ -183,8 +183,8 @@ namespace Game.Entities
if (timer < _currentFrame.DepartureTime)
{
justStopped = IsMoving();
SetMoving(false);
justStopped = true;
if (_pendingStop && GetGoState() != GameObjectState.Ready)
{
SetGoState(GameObjectState.Ready);