Esempio n. 1
0
        public void Event_PlayerLeft(SSPlayer p)
        {
            if (m_Races == null)
            {
                return;
            }
            RaceGame race = getRace(p);

            if (race == null)
            {
                return;
            }
            race.race_PlayerLeaving(p);
        }
Esempio n. 2
0
        public void Event_PlayerFreqChange(SSPlayer p)
        {
            if (m_Races == null)
            {
                return;
            }
            RaceGame race = getRace(p.OldFrequency);

            if (race == null)
            {
                return;
            }

            race.race_PlayerLeaving(p);
        }