diff options
| author | stonedDiscord <Tukz@gmx.de> | 2025-10-03 00:01:35 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2025-10-03 00:01:35 +0200 |
| commit | 1bd50a969fc3d925892df3fd284cec7d430e7b70 (patch) | |
| tree | 7f25a254c319402904dd6f408ee9cc1bb63427ed | |
| parent | f0f057fc269f89068532f254a9d3bc25cb69224f (diff) | |
do not reload if there are not speedlines
| -rw-r--r-- | webAO/viewport/utils/setSide.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/viewport/utils/setSide.ts b/webAO/viewport/utils/setSide.ts index 7592087..25bf50b 100644 --- a/webAO/viewport/utils/setSide.ts +++ b/webAO/viewport/utils/setSide.ts @@ -53,7 +53,7 @@ export const set_side = async ({ if (showSpeedLines === true) { court.src = `${AO_HOST}themes/default/${encodeURI(speedLines)}`; - } else { + } else if (court.src == `${AO_HOST}themes/default/${encodeURI(speedLines)}`) { court.src = await client.viewport.getBackgroundFolder() + bg + ".png"; //TODO broken } |
