refactor(runtime): own teleport destination correlation
This commit is contained in:
parent
38b3773cb9
commit
6a063a27d4
23 changed files with 1209 additions and 487 deletions
|
|
@ -5,6 +5,7 @@ using AcDream.App.Net;
|
|||
using AcDream.App.Physics;
|
||||
using AcDream.App.Rendering;
|
||||
using AcDream.App.Rendering.Vfx;
|
||||
using AcDream.App.Streaming;
|
||||
using AcDream.App.Update;
|
||||
using AcDream.App.World;
|
||||
using AcDream.Content;
|
||||
|
|
@ -1764,7 +1765,8 @@ internal sealed class LiveEntityNetworkUpdateController
|
|||
&& update.Guid == _playerServerGuid)
|
||||
{
|
||||
_localPlayerTeleport.OfferDestination(
|
||||
update,
|
||||
RuntimeTeleportDestinationAdapter.FromAcceptedPosition(
|
||||
update),
|
||||
timestamps.TeleportAdvanced);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue