dont change bg colors in replay
This commit is contained in:
parent
ff69a5e195
commit
10d56e2898
3 changed files with 5 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="UTF-8">
|
||||
|
||||
<title>🧩 jigsaw.hyottoko.club</title>
|
||||
<script type="module" crossorigin src="/assets/index.5791217a.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index.ac3207a7.js"></script>
|
||||
<link rel="modulepreload" href="/assets/vendor.684f7bc8.js">
|
||||
<link rel="stylesheet" href="/assets/index.5c03949d.css">
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -463,6 +463,9 @@ export async function main(
|
|||
}
|
||||
|
||||
const playerBgColor = () => {
|
||||
if (MODE === MODE_REPLAY) {
|
||||
return localStorage.getItem('bg_color') || '#222222'
|
||||
}
|
||||
return (Game.getPlayerBgColor(gameId, clientId)
|
||||
|| localStorage.getItem('bg_color')
|
||||
|| '#222222')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue