Skip to content

Commit 31b23f8

Browse files
committed
bugfix: calc game files hash
1 parent df0762c commit 31b23f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gameplay/version.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function version.older_than(v1, v2)
5151
end
5252

5353
local root_list = {
54-
"assert",
54+
"asset",
5555
"core",
5656
"gameplay",
5757
"localization",
@@ -97,7 +97,7 @@ end
9797
local VERSION
9898
function version.text()
9999
if VERSION == nil then
100-
local hash = calc_hash("./", root_list)
100+
local hash = calc_hash("", root_list)
101101
VERSION = string.format("%s.%s", ver, hash:sub(1, 5))
102102
end
103103
return VERSION

0 commit comments

Comments
 (0)