mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-09-26 03:18:58 +02:00
Added support for new line in string
This commit is contained in:
parent
4e74f9f925
commit
fa5fc7ccc3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user