1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

add shortcut for rules in penalty reasons for issue #159

This commit is contained in:
RaidMax
2020-11-18 18:48:24 -06:00
parent 5f912aad7f
commit d067c1d4d5
5 changed files with 238 additions and 26 deletions

View File

@ -197,6 +197,7 @@ namespace IW4MAdmin
catch (Exception e)
{
ServerLogger.LogError(e, "Unexpected exception occurred processing event");
if (E.Origin != null && E.Type == GameEvent.EventType.Command)
{
E.Origin.Tell(_translationLookup["SERVER_ERROR_COMMAND_INGAME"]);