Fix game string lookup for intl clients
This commit is contained in:
parent
ecf759121f
commit
2d214b1338
@ -121,7 +121,7 @@ public static class DataManagerExtensions
|
|||||||
return string.Join("", text.Select(payload =>
|
return string.Join("", text.Select(payload =>
|
||||||
{
|
{
|
||||||
if (payload.Type == ReadOnlySePayloadType.Text)
|
if (payload.Type == ReadOnlySePayloadType.Text)
|
||||||
return Regex.Escape(payload.ToString());
|
return payload.ToString();
|
||||||
else if (payload is { Type: ReadOnlySePayloadType.Macro, MacroCode: MacroCode.NewLine })
|
else if (payload is { Type: ReadOnlySePayloadType.Macro, MacroCode: MacroCode.NewLine })
|
||||||
return "";
|
return "";
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user