Browse Source

fix a bug

tags/0.1.0
Gao Siyan GitHub 2 years ago
parent
commit
dfbc5ec3b5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      logic/Server/RpcServices.cs

+ 1
- 1
logic/Server/RpcServices.cs View File

@@ -56,7 +56,7 @@ namespace Server
{ {


Console.WriteLine($"AddPlayer: {request.PlayerId}"); Console.WriteLine($"AddPlayer: {request.PlayerId}");
if (request.PlayerId >= spectatorMinPlayerID && options.spectator == true)
if (request.PlayerId >= spectatorMinPlayerID && options.AllowSpectator == true)
{ {
// 观战模式 // 观战模式
uint tp = (uint)request.PlayerId; uint tp = (uint)request.PlayerId;


Loading…
Cancel
Save