summaryrefslogtreecommitdiffstats
path: root/plugins/data/load_dat.lua
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2018-01-15 09:09:13 -0600
committer cracyc <cracyc@users.noreply.github.com>2018-01-15 09:09:13 -0600
commitcc7ccbd9b513f8ff4586df9b3ba050e6ab4145c3 (patch)
treec92b014b64d43072b3334d22932ae9d0e9f07936 /plugins/data/load_dat.lua
parent76670136052372679212954910beeb83c7349554 (diff)
plugins/data: fix version for gameinit (nw)
Diffstat (limited to 'plugins/data/load_dat.lua')
-rw-r--r--plugins/data/load_dat.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/data/load_dat.lua b/plugins/data/load_dat.lua
index 3521820f078..ce4ffed5c80 100644
--- a/plugins/data/load_dat.lua
+++ b/plugins/data/load_dat.lua
@@ -66,7 +66,8 @@ function datfile.open(file, vertag, fixupcb)
break
end
end
- else
+ end
+ if not ver then
-- use file ctime for version
ver = tostring(lfs.attributes(filepath, "change"))
end