mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(resource): set cache.game
Property was only set for imported modules.
This commit is contained in:
@@ -14,7 +14,8 @@ lib = setmetatable({
|
|||||||
})
|
})
|
||||||
|
|
||||||
cache = {
|
cache = {
|
||||||
resource = lib.name
|
resource = lib.name,
|
||||||
|
game = GetGameName(),
|
||||||
}
|
}
|
||||||
|
|
||||||
if not LoadResourceFile(lib.name, 'web/build/index.html') then
|
if not LoadResourceFile(lib.name, 'web/build/index.html') then
|
||||||
|
|||||||
Reference in New Issue
Block a user