Fix sending money to companies in single-player mode
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
void CcGiveMoney(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2)
|
||||
{
|
||||
#ifdef ENABLE_NETWORK
|
||||
if (result.Failed() || !_settings_game.economy.give_money) return;
|
||||
if (result.Failed() || !_settings_game.economy.give_money || !_networking) return;
|
||||
|
||||
/* Inform the company of the action of one of its clients (controllers). */
|
||||
char msg[64];
|
||||
|
Reference in New Issue
Block a user