Ejemplo n.º 1
0
        private void RestoreLifeAndPower(bool pressed)
        {
            if (pressed)
            {
                if (RoundState == RoundState.Fight)
                {
                    Clock.Time = GetSubSystem <InitializationSettings>().RoundLength;

                    Team1.DoAction(PlayerRestore);
                    Team2.DoAction(PlayerRestore);
                }
            }
        }