fix double data loading
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m20s

This commit is contained in:
Lee 2024-04-25 20:08:41 +01:00
parent c0d2781fd0
commit ddaa1e7c97

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name ScoreSaber Utils
// @namespace https://ssu.fascinated.cc
// @version 1.0.3
// @version 1.0.4
// @description Useful additions to ScoreSaber!
// @author Fascinated
// @match https://scoresaber.com/*
@ -109,8 +109,6 @@ async function loadPlayerData(path) {
loadingElement.remove();
}
loadPlayerData();
// Watch for URL changes
let previousUrl = "";
const observer = new MutationObserver(function (mutations) {