private void ProcessProductionResult(CityView.Building building, ProductionCycleResult result) { if (result.pollutionPoints > 0) { worldTemperature.AddPollution(result.pollutionPoints); } if (Player.LocalPlayer != null) { Player.LocalPlayer.CmdAddGlobalPollution(Player.LocalPlayer.PlayerID, result.pollutionPoints); } }
public void OnHousePaused(CityView.Building building, int inhabitants) { totalPopulation -= inhabitants; }