From 0e1d99fc7bce58382d8a61af0829e3d3889c0b75 Mon Sep 17 00:00:00 2001 From: Alexey Olendor <137941487+Lolendor@users.noreply.github.com> Date: Sat, 27 Dec 2025 03:39:15 +0300 Subject: [PATCH] params shortly --- dist/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/game.js b/dist/game.js index aa9e6a3..f1e04ab 100644 --- a/dist/game.js +++ b/dist/game.js @@ -20,7 +20,7 @@ const cheatsEnabled = params.get('cheats') === "1" if (params.get('request_original_game') !== "1") localStorage.setItem('vcsky.haveOriginalGame', 'true'); -const maxFPS = parseInt(new URLSearchParams(window.location.search).get('max_fps')) || 0; +const maxFPS = parseInt(params.get('max_fps')) || 0; const isMobile = /Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent); let isTouch = isMobile && window.matchMedia('(pointer: coarse)').matches;