private void DecreaseCorruption() { App app = UnityEngine.Object.FindObjectOfType <App>(); Nation player = State.getNations()[app.GetHumanIndex()]; PlayerPayer.payToReduceCorruption(player); currentCorruption.text = player.GetCorruption().ToString(); if (player.getNumberResource(MyEnum.Resources.spice) < 1 || player.getAP() < 1 || player.getNumberGood(MyEnum.Goods.paper) < 1) { decreaseCorruption.interactable = false; } AP.text = player.getAP().ToString(); }