mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-09-26 11:29:07 +02:00
Easier to read the if statement like this
This commit is contained in:
parent
3740de6258
commit
3230c43a76
@ -106,7 +106,7 @@
|
||||
Return s
|
||||
Else
|
||||
Dim result As String = resultToken.TokenContent
|
||||
If Not Core.Player Is Nothing Then
|
||||
If Core.Player IsNot Nothing Then
|
||||
result = result.Replace("<playername>", Core.Player.Name)
|
||||
result = result.Replace("<rivalname>", Core.Player.RivalName)
|
||||
End If
|
||||
|
Loading…
x
Reference in New Issue
Block a user