Fixes admin bwoink preference

Non-admin players no longer get the (unusable) verb to toggle it, nor is
its setting respected when PMing them
This commit is contained in:
Krausus
2017-03-10 19:46:35 -05:00
parent 98526aa020
commit a803500489
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -162,8 +162,8 @@
C.ckey_last_pm = ckey*/
//play the recieving admin the adminhelp sound (if they have them enabled)
//non-admins shouldn't be able to disable this
if(C.prefs.sound & SOUND_ADMINHELP)
//non-admins always hear the sound, as they cannot toggle it
if((!C.holder) || (C.prefs.sound & SOUND_ADMINHELP))
C << 'sound/effects/adminhelp.ogg'
log_admin("PM: [key_name(src)]->[key_name(C)]: [msg]")