private void TaskOnClick() { PartyActions.Sleep(); if (Tent.Status == TentStatus.Fireplace) { PartyActions.DamageAllPlayers(1); } if (InventionStorage.IsAvailable(Invention.Cellar)) { var food = FoodStorage.Food; FoodStorage.DecreaseFoodBy(food); FoodStorage.IncreasePermantFoodBy(food); } if (CampMoved) { Wall.HalfValue_Ceiling(); Roof.HalfValue_Ceiling(); } FoodStorage.DiscardFood(); Destroy(popUp); var phaseView = FindObjectOfType <PhaseView>(); phaseView.NextPhase(); RoundSystem.instance.increaseRound(); }