Open Brosky01 opened 12 months ago
well my friend gg to you i fixed try to update the js code :)
window.addEventListener("keydown", function (e) { if (e.key === "Escape") { $('.modal').removeClass('modal_show'); $('.modal').addClass('hidden'); $('.task').addClass('hidden'); $.post('https://calibrate-distributor/callback', JSON.stringify({ success: false // Indicate failure by setting success to false })); EndTask(false); // Call EndTask with false to indicate failure } });
hey i would like to mention that if i cancel the minigame with ecp click it will freeze the player besides that verry nice minigame thanks man hope it be fixed