mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 16:54:56 +02:00
Update ActionScript.vb
This commit is contained in:
parent
24ccc5876e
commit
408c97e5d5
@ -161,7 +161,7 @@ nextScript:
|
||||
Dim l As ScriptLevel = ScriptLevels(ScriptLevelIndex)
|
||||
For Each newScript As String In ScriptData
|
||||
If i = 0 And newScript.ToLower().StartsWith("version=") Then
|
||||
l.ScriptVersion = CInt(newScript.Remove(0, ("version=").Length))
|
||||
l.ScriptVersion = CInt(newScript.ToLower().Remove(0, ("version=").Length))
|
||||
l.CurrentLine += 1
|
||||
Else
|
||||
While newScript.StartsWith(" ") = True Or newScript.StartsWith(StringHelper.Tab) = True
|
||||
@ -578,4 +578,4 @@ nextScript:
|
||||
|
||||
#End Region
|
||||
|
||||
End Class
|
||||
End Class
|
||||
|
Loading…
x
Reference in New Issue
Block a user