private void UpgradeRailway() { App app = UnityEngine.Object.FindObjectOfType <App>(); Nation player = State.getNations()[app.GetHumanIndex()]; int provIndex = State.getCurrentlySelectedProvince(); assemblyCsharp.Province prov = State.getProvinces()[provIndex]; PlayerPayer.payRailRoad(player, prov); this.RailroadLevel.text = prov.getInfrastructure().ToString(); AP.text = player.getAP().ToString(); updateSelfProvinceButtons(player, prov); }