mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 18:40:29 +00:00
Fix #7171: incorrect modified status with determineversion.vbs
This commit is contained in:
parent
de5614a4d8
commit
bf5898018f
@ -56,7 +56,7 @@ Function DetermineVersion()
|
||||
Set WshShell = CreateObject("WScript.Shell")
|
||||
On Error Resume Next
|
||||
|
||||
modified = 1
|
||||
modified = 0
|
||||
hash = ""
|
||||
shorthash = ""
|
||||
branch = ""
|
||||
@ -135,6 +135,7 @@ Function DetermineVersion()
|
||||
rev_file.Close()
|
||||
ElseIf hash = "" Then
|
||||
DetermineVersion = "norev000"
|
||||
modified = 1
|
||||
Else
|
||||
Dim version, hashprefix
|
||||
If modified = 0 Then
|
||||
|
Loading…
Reference in New Issue
Block a user