Example #1
0
        public static void PlayWarning()
        {
            if (!Main.dedServ)
            {
                Film warnings = new Film();
                if (heartBeats != 2220)
                {
                    warnings.AppendSequence(80, BlankFrame);
                    warnings.AppendSequence(1, TextSpawnFrame);

                    goto playfilm;
                }


playfilm:
                CinematicManager.Instance.PlayFilm(warnings);
            }

            heartBeats += 1;
        }