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