revealing hidden staff is a bad thing
This commit is contained in:
parent
0462a78e40
commit
318ad5f08c
1 changed files with 3 additions and 0 deletions
|
|
@ -282,6 +282,9 @@ namespace Server.Items
|
|||
if ( Deleted || m_TriggerType == EffectTriggerType.None )
|
||||
return;
|
||||
|
||||
if( trigger is Mobile && ((Mobile)trigger).Hidden && ((Mobile)trigger).AccessLevel > AccessLevel.Player )
|
||||
return;
|
||||
|
||||
if ( m_SoundID > 0 )
|
||||
Timer.DelayCall( m_SoundDelay, new TimerStateCallback( PlaySound ), trigger );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue