make sure color tokens are mapped for kick messages
This commit is contained in:
parent
561909158f
commit
444c06e65e
@ -33,7 +33,7 @@ namespace IW4MAdmin.Application.Misc
|
|||||||
builder.Append(header);
|
builder.Append(header);
|
||||||
builder.Append(config.NoticeLineSeparator);
|
builder.Append(config.NoticeLineSeparator);
|
||||||
// build the reason
|
// build the reason
|
||||||
var reason = _transLookup["GAME_MESSAGE_PENALTY_REASON"].FormatExt(penalty.Offense);
|
var reason = _transLookup["GAME_MESSAGE_PENALTY_REASON"].FormatExt(penalty.Offense.FormatMessageForEngine(config));
|
||||||
|
|
||||||
if (isNewLineSeparator)
|
if (isNewLineSeparator)
|
||||||
{
|
{
|
||||||
@ -117,4 +117,4 @@ namespace IW4MAdmin.Application.Misc
|
|||||||
return segments;
|
return segments;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user