Skip to content

Commit

Permalink
Chinese string
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoCat233 committed Apr 25, 2024
1 parent 4fe1b0b commit 8712eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Impostor.Server/Net/State/Game.Incoming.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private async ValueTask<GameJoinResult> AddClientSafeAsync(ClientBase client)
{
if (count >= Client._antiCheatConfig.MaxOnlineFromSameIp)
{
return GameJoinResult.CreateCustomError(string.Format("[Impostor Anticheat+]\nToo many clients from a same ip.\n({0}) x {1}", client.Connection.EndPoint.Address.ToString(), count));
return GameJoinResult.CreateCustomError(string.Format("[反作弊]\n检测到多重登录\n({0}) x {1}", client.Connection.EndPoint.Address.ToString(), count));
}

ClientManager._onlineCount[client.Connection.EndPoint.Address.ToString()] = count + 1;
Expand Down

0 comments on commit 8712eda

Please sign in to comment.