diff options
author | 0neGal <mail@0negal.com> | 2024-06-23 18:06:41 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2024-06-23 18:06:41 +0200 |
commit | a49b9114f92b141dfae76199be2ba81252df0e41 (patch) | |
tree | 4772f7ec845d8f8c7582f12e261a422bfe570e41 /src | |
parent | 6c2df3103bca1b782101601b088f550f2662ee99 (diff) | |
download | Viper-a49b9114f92b141dfae76199be2ba81252df0e41.tar.gz Viper-a49b9114f92b141dfae76199be2ba81252df0e41.zip |
make sure "libraryfolders" exists in VDF files
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/findgame.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/findgame.js b/src/modules/findgame.js index f8d0126..d53397b 100644 --- a/src/modules/findgame.js +++ b/src/modules/findgame.js @@ -31,7 +31,7 @@ module.exports = async () => { data = vdf.parse(data); // parse read_data // verify VDF was parsed correctly - if (! data || typeof data !== "object") { + if (! data || typeof data !== "object" || ! data.libraryfolders) { return; } |