mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-31 01:35:20 +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)
|
Dim l As ScriptLevel = ScriptLevels(ScriptLevelIndex)
|
||||||
For Each newScript As String In ScriptData
|
For Each newScript As String In ScriptData
|
||||||
If i = 0 And newScript.ToLower().StartsWith("version=") Then
|
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
|
l.CurrentLine += 1
|
||||||
Else
|
Else
|
||||||
While newScript.StartsWith(" ") = True Or newScript.StartsWith(StringHelper.Tab) = True
|
While newScript.StartsWith(" ") = True Or newScript.StartsWith(StringHelper.Tab) = True
|
||||||
@ -578,4 +578,4 @@ nextScript:
|
|||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
Loading…
x
Reference in New Issue
Block a user