Skip to content

Commit

Permalink
Merge pull request eesast#375 from GuoWQ222/dev
Browse files Browse the repository at this point in the history
fix:Spectator Message Block
  • Loading branch information
DragonAura authored May 12, 2024
2 parents 67778e1 + 83e8a6a commit 1a9db10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logic/Server/RpcServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ public override async Task AddPlayer(PlayerMsg request, IServerStreamWriter<Mess
semaDict0[request.PlayerId].Item1.Wait();
try
{
var info = currentGameInfo.Clone();
if (info != null)
if (currentGameInfo != null)
{
var info = currentGameInfo.Clone();
for (int i = info.ObjMessage.Count - 1; i >= 0; i--)
{
if (info.ObjMessage[i].NewsMessage != null)
Expand Down

0 comments on commit 1a9db10

Please sign in to comment.