From 38e4697d99625a5288491baf359a6034b27f6eaf Mon Sep 17 00:00:00 2001 From: wearrrrr Date: Fri, 8 Dec 2023 21:04:47 -0600 Subject: [PATCH] More idiot moves :D --- src/ts/lib/games.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ts/lib/games.ts b/src/ts/lib/games.ts index 5151bab..0424f15 100644 --- a/src/ts/lib/games.ts +++ b/src/ts/lib/games.ts @@ -373,8 +373,10 @@ async function addGame(name: string, value: gameObject, gamesElement: HTMLDivEle // e.preventDefault(); // }) // } + if (checkInstallStatus) gameCard.style.background = `url(assets/game-images/${value.img})`; gameCard.addEventListener('contextmenu', async (e) => { if (checkInstallStatus) { + gameCard.style.background = `url(assets/game-images/${value.img})`; e.preventDefault(); gameConfigurator(value.game_id); } else {