dont change bg colors in replay
This commit is contained in:
parent
ff69a5e195
commit
10d56e2898
3 changed files with 5 additions and 2 deletions
|
|
@ -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