// Use this for initialization
    void Start()
    {
        alertPanel.SetActive(false);

        dm = new dataManager();

        getGameData();

        //mpm = new mainPanelManager();

        string returnedScripts = dm.returnScripts();

        scripts = returnedScripts.Split(',');

        string returnedMarketForces = dm.returnMarketForces();

        marketForces = returnedMarketForces.Split(',');

        string returnedPorts = dm.returnAllPorts();

        ports = returnedPorts.Split('_');

        if (mapManager.doITakeMoney)
        {
            //Need to take the tax off your money OR receive money from the tax if you own it
            portTax();

            //Need to pay the crew (which is influenced by market forces)
            payCrew();
        }
    }
    void getPortData()
    {
        //Clear it out
        Array.Clear(ports, 0, ports.Length);
        //then refresh it
        string returnedPorts = dm.returnAllPorts();

        ports = returnedPorts.Split(',');
    }
    private void Start()
    {
        if (travelManager.currentPort != null)
        {
            TradeButton.interactable = true;
        }

        doITakeMoney = false;

        dm = new dataManager();
        string returnedPorts        = dm.returnAllPorts();
        string returnedMarketForces = dm.returnMarketForces();
        string returnedGameData     = dm.returnGameData();

        port     = returnedPorts.Split('_');
        forces   = returnedMarketForces.Split(',');
        gameData = returnedGameData.Split(',');

        disableButton();

        populatePortDetails();
    }