mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 16:24:45 +02:00
Added some .ToLower to Player savedata readings
This commit is contained in:
parent
2c9a1ebc61
commit
04ae735b18
@ -700,9 +700,9 @@
|
|||||||
Case "rotation"
|
Case "rotation"
|
||||||
startRotation = CSng(Value.Replace(".", GameController.DecSeparator))
|
startRotation = CSng(Value.Replace(".", GameController.DecSeparator))
|
||||||
Case "gender"
|
Case "gender"
|
||||||
If Value = "Male" Or Value = "0" Then
|
If Value.ToLower = "male" Or Value = "0" Then
|
||||||
Gender = "Male"
|
Gender = "Male"
|
||||||
ElseIf Value = "Female" Or Value = "1" Then
|
ElseIf Value.ToLower = "female" Or Value = "1" Then
|
||||||
Gender = "Female"
|
Gender = "Female"
|
||||||
Else
|
Else
|
||||||
Gender = "Other"
|
Gender = "Other"
|
||||||
@ -793,7 +793,7 @@
|
|||||||
SandBoxMode = CBool(Value)
|
SandBoxMode = CBool(Value)
|
||||||
Case "earnedachievements"
|
Case "earnedachievements"
|
||||||
If Value <> "" Then
|
If Value <> "" Then
|
||||||
EarnedAchievements = Value.Split(CChar(",")).ToList()
|
EarnedAchievements = Value.ToLower.Split(CChar(",")).ToList()
|
||||||
End If
|
End If
|
||||||
Case "expall"
|
Case "expall"
|
||||||
If Core.Player.Inventory.GetItemAmount(658.ToString) > 0 Then
|
If Core.Player.Inventory.GetItemAmount(658.ToString) > 0 Then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user