This commit is contained in:
DESKTOP-5RP3AKU\Jisol 2024-09-22 04:07:30 +08:00
parent 81fee86ba7
commit ca64b708ac
2 changed files with 1 additions and 2 deletions

View File

@ -100,7 +100,7 @@ namespace AppGame.Sync
//发送帧数据给服务端
JNStateTileInputs tileInputs = new JNStateTileInputs()
{
TId = 0,
TId = PlayerTile ?? (Sockets.Keys.Count > 0 ? Sockets.Keys.Last() : 0),
Message = inputs
};
App.Client.Send((int)NActionEnum.NSyncTileInput,tileInputs);

View File

@ -51,7 +51,6 @@ namespace Game.JNGFrame.Logic.Entity.Controller
{
if (Input.SInput<IDPlayer>(Auth) is not IDPlayer input || input.MoveVector is null) return;
Debug.Log($"收到移动数据: ${input.MoveVector.ToLVector2()}");
Move.Vector(input.MoveVector.ToLVector2());
}