Added support for new line in string

This commit is contained in:
Daniel S. Billing 2021-07-31 16:14:14 +02:00
parent 4e74f9f925
commit fa5fc7ccc3

View File

@ -123,6 +123,9 @@ Public Class Localization
result = result.Replace("<playername>", Core.Player.Name)
result = result.Replace("<rivalname>", Core.Player.RivalName)
End If
If result.Contains("~") Then
result = result.Replace("~", Environment.NewLine)
End If
Return result
End If
Else