Fixed regression causing public triggers to no longer display (bug 5863, r=drifter).
This commit is contained in:
parent
1824826474
commit
0c00f7393c
@ -311,8 +311,7 @@ void ChatTriggers::OnSayCommand_Pre()
|
||||
RETURN_META(MRES_SUPERCEDE);
|
||||
}
|
||||
|
||||
if (m_bWillProcessInPost || \
|
||||
(is_silent && g_bSupressSilentFails && pPlayer->GetAdminId() != INVALID_ADMIN_ID))
|
||||
if (is_silent && (m_bIsChatTrigger || (g_bSupressSilentFails && pPlayer->GetAdminId() != INVALID_ADMIN_ID)))
|
||||
{
|
||||
RETURN_META(MRES_SUPERCEDE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user