Example #1
0
 public override void PostUpdateMiscEffects()
 {
     if (Main.worldName == SpookyTerrariaUtils.slenderWorldName)
     {
         Main.bgStyle                 = (int)SpookyTerrariaUtils.BGStyleID.DefaultForest;
         player.ZoneJungle            = false;
         player.ZoneDungeon           = false;
         player.ZoneCorrupt           = false;
         player.ZoneCrimson           = false;
         player.ZoneHoly              = false;
         player.ZoneSnow              = false;
         player.ZoneUndergroundDesert = false;
         player.ZoneGlowshroom        = false;
         player.ZoneMeteor            = false;
         player.ZoneBeach             = false;
         player.ZoneDesert            = false;
     }
     SoundEngine.Play();
     SoundEngine.HandleSoundInstancing();
 }