diff options
-rw-r--r-- | src/players.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/players.cpp b/src/players.cpp index 0b4144614..f601514c2 100644 --- a/src/players.cpp +++ b/src/players.cpp @@ -840,7 +840,7 @@ CommandCost CmdPlayerCtrl(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) NetworkClientInfo *ci = &_network_client_info[cid]; ci->client_playas = PLAYER_SPECTATOR; NetworkUpdateClientInfo(ci->client_index); - } else if (_local_player == PLAYER_SPECATOR) { + } else if (_local_player == PLAYER_SPECTATOR) { _network_playas = PLAYER_SPECTATOR; } #endif /* ENABLE_NETWORK */ |