aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-12-20 01:49:06 +0100
committerGitHub <noreply@github.com>2024-12-20 01:49:06 +0100
commita8ba1b376ff16a69c52f223341a2ed39fd59a8ea (patch)
tree2a8c0535a22264f4f3d37d684231d2ac147ac199 /src/modules
parent7403086ce7d2a9d3b68801dc4c2135f5766b8d60 (diff)
parentbd4391f737ee4405fc390ab47c4124fe28df48d7 (diff)
downloadViper-a8ba1b376ff16a69c52f223341a2ed39fd59a8ea.tar.gz
Viper-a8ba1b376ff16a69c52f223341a2ed39fd59a8ea.zip
Merge branch 'main' into gamepad-supportgamepad-support
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/findgame.js2
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;
}