mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r3593) Fix typo in r3591
This commit is contained in:
parent
12bc4e8e32
commit
8cba0a1176
@ -574,7 +574,7 @@ DEF_CONSOLE_HOOK(ConHookValidateMaxCompaniesCount) {
|
||||
DEF_CONSOLE_HOOK(ConHookValidateMaxSpectatorsCount) {
|
||||
/* XXX @see ConHookValidateMaxClientsCount */
|
||||
if (_network_game_info.spectators_max > 10) {
|
||||
_network_game_info.clients_max = 10;
|
||||
_network_game_info.spectators_max = 10;
|
||||
IConsoleError("Maximum spectators out of bounds, truncating to limit.");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user