Example #1
0
 internal void Enable()
 {
     if (_mod.Enabled)
     {
         return;
     }
     SoundEngine.PlaySound(SoundID.MenuTick);
     _mod.Enabled = true;
     _uiModStateText.SetEnabled();
 }
Example #2
0
 internal void Enable()
 {
     _uiModStateText.SetEnabled();
     if (_mod.Enabled)
     {
         return;
     }
     Main.PlaySound(SoundID.MenuTick);
     _mod.Enabled = true;
 }
Example #3
0
 internal void Enable()
 {
     Main.PlaySound(12);
     _mod.Enabled = true;
     _uiModStateText.SetEnabled();
 }