diff --git a/src/goal.cpp b/src/goal.cpp index 91ba6d288a..b6eabcdfe6 100644 --- a/src/goal.cpp +++ b/src/goal.cpp @@ -80,6 +80,8 @@ CommandCost CmdCreateGoal(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 default: return CMD_ERROR; } + if (company != INVALID_OWNER && company != _local_company) return CommandCost(); + if (flags & DC_EXEC) { Goal *g = new Goal(); g->type = type;