Server.Items.BaseLight.PlayUnlitSound C# (CSharp) Method

PlayUnlitSound() public method

public PlayUnlitSound ( ) : void
return void
		public virtual void PlayUnlitSound()
		{
			int sound = UnlitSound;

			if ( m_BurntOut && BurntOutSound != 0 )
				sound = BurntOutSound;

			
			if ( sound != 0 )
			{
				Point3D loc = GetWorldLocation();
				Effects.PlaySound( loc, Map, sound );
			}					
		}