640 {
641 #ifndef SERVER
642 if (position == vector.Zero)
644
645 if (!sound)
646 {
647 sound = SEffectManager.PlaySoundCachedParams(soundset, position);
648 sound.SetAttachmentParent(this);
649 sound.SetAutodestroy(true);
650 }
651 else
652 {
653 if (!sound.IsSoundPlaying())
654 {
655 sound.SetCurrentPosition(position);
656 sound.SoundPlay();
657 }
658 }
659 #endif
660 }
class JsonUndergroundAreaTriggerData GetPosition