void DeProduction(bool withInvestments) { if (gameData.DeProductResource(resourceType, actionBase.nBenefit, withInvestments)) { actionCounter.AddBenefit((int)resourceType); ResourceEvents.Instance.actualResourceType = resourceType; ResourceEvents.Instance.deProduct.Raise(); } }