World
This commit is contained in:
@@ -249,7 +249,11 @@ public sealed class WorldHandler : IClientMessageHandler
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var shouldStopNow = (req.IsMovingProvided && !req.IsMoving) ||
|
// Match dungeon semantics: an explicit neutral directional packet should
|
||||||
|
// clear movement immediately instead of waiting for neutral-input grace.
|
||||||
|
var explicitDirectionalStop = req.NativeDirectional && !req.UseTargetPosition;
|
||||||
|
var shouldStopNow = explicitDirectionalStop ||
|
||||||
|
(req.IsMovingProvided && !req.IsMoving) ||
|
||||||
(now - s.LastNonNeutralInputAt) > NeutralInputGrace;
|
(now - s.LastNonNeutralInputAt) > NeutralInputGrace;
|
||||||
if (shouldStopNow)
|
if (shouldStopNow)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user