Skip to content

Commit

Permalink
fix: fix send team id
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonAura authored May 10, 2024
1 parent 03f9a06 commit b4e8f3f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions logic/Server/RpcServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ public override Task<BoolRes> Send(SendMsg request, ServerCallContext context)
{
TextMessage = request.TextMessage,
FromId = request.PlayerId,
ToId = request.ToPlayerId
ToId = request.ToPlayerId,
TeamId = request.TeamId
};
lock (newsLock)
{
Expand All @@ -410,7 +411,8 @@ public override Task<BoolRes> Send(SendMsg request, ServerCallContext context)
{
BinaryMessage = request.BinaryMessage,
FromId = request.PlayerId,
ToId = request.ToPlayerId
ToId = request.ToPlayerId,
TeamId = request.TeamId
};
lock (newsLock)
{
Expand Down

0 comments on commit b4e8f3f

Please sign in to comment.