fix(resource): set cache.game

Property was only set for imported modules.
This commit is contained in:
Linden
2022-12-06 13:30:24 +11:00
parent a6f47cfe59
commit ca38dd61ca

View File

@@ -14,7 +14,8 @@ lib = setmetatable({
})
cache = {
resource = lib.name
resource = lib.name,
game = GetGameName(),
}
if not LoadResourceFile(lib.name, 'web/build/index.html') then