Ejemplo n.º 1
0
        /// <summary>
        /// Сохраняет результаты трека
        /// </summary>
        private void SaveResult(TrackInfo track)
        {
            track.Timestamp = TimeManager.Instance.Now;
            PlayerManager.Instance.GiveReward(track.FansIncome, track.MoneyIncome, rewardExp);
            ProductionManager.AddTrack(track);

            if (track.Feat != null)
            {
                ProductionManager.AddFeat(track.Feat);
            }
        }