mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
(svn r15194) -Fix: Don't count dedicated server as a spectator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user