Force stop pulling when fall asleep (#31893)
* break pull at sleep * TryStopPull without user --------- Co-authored-by: YourUsername <you@example.com>
This commit is contained in:
@@ -188,7 +188,7 @@ public sealed class PullingSystem : EntitySystem
|
|||||||
|
|
||||||
if (EntityManager.TryGetComponent(args.BlockingEntity, out PullableComponent? comp))
|
if (EntityManager.TryGetComponent(args.BlockingEntity, out PullableComponent? comp))
|
||||||
{
|
{
|
||||||
TryStopPull(args.BlockingEntity, comp, uid);
|
TryStopPull(args.BlockingEntity, comp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user