Update ActionScript.vb

This commit is contained in:
Vitaly Mikhailov 2019-10-18 22:06:30 +03:00 committed by GitHub
parent 24ccc5876e
commit 408c97e5d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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