From db0ba6d0504081394adf938a19b2bd100a0d23fd Mon Sep 17 00:00:00 2001 From: Astrologies Date: Sun, 12 Dec 2021 09:21:37 -0500 Subject: [PATCH] broken game thumb check --- globals/functions.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/globals/functions.php b/globals/functions.php index 90148d1..3104e83 100644 --- a/globals/functions.php +++ b/globals/functions.php @@ -4954,6 +4954,11 @@ function handleGameThumb($id) $thumbhash = $placeinfo->ThumbHash; if ($thumbhash) { + //broken check + if (!file_get_contents($GLOBALS['renderCDNPath'].$thumbhash)) + { + return getImageFromAsset(4); + } return constructRenderHashUrl($thumbhash); }