mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-31 01:35:20 +02:00
Fix trainer money crash
This commit is contained in:
parent
3d13d90b63
commit
135f0cdd4e
@ -140,7 +140,7 @@ Public Class Trainer
|
|||||||
isDoubleTrainerValid += 1
|
isDoubleTrainerValid += 1
|
||||||
End If
|
End If
|
||||||
Case "money"
|
Case "money"
|
||||||
Me.Money = CInt(ScriptCommander.Parse(value).ToString())
|
Me.Money = CInt(ScriptConversion.ToInteger(ScriptCommander.Parse(value).ToString()))
|
||||||
Case "intromessage"
|
Case "intromessage"
|
||||||
Me.IntroMessage = ScriptCommander.Parse(value).ToString()
|
Me.IntroMessage = ScriptCommander.Parse(value).ToString()
|
||||||
Case "outromessage"
|
Case "outromessage"
|
||||||
@ -491,4 +491,4 @@ Public Class Trainer
|
|||||||
Return i
|
Return i
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
Loading…
x
Reference in New Issue
Block a user