diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/network.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index 89131156a..4fbad7535 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -176,6 +176,9 @@ byte NetworkSpectatorCount() if (ci->client_playas == COMPANY_SPECTATOR) count++; } + /* Don't count a dedicated server as spectator */ + if (_network_dedicated) count--; + return count; } |