This commit is contained in:
2022-07-09 19:24:49 +09:00
parent 534be03539
commit dd0afbe390
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ export async function reloadWorldMap(option: loadMapOption, drawTarget = '.world
async function setMapBackground(obj: MapResult): Promise<MapResult> {
function setTheme() {
const oldTheme = $world_map.data('currentTheme');
const newTheme = obj.theme;
const newTheme = (obj as unknown as Record<string, string>).theme;
if (oldTheme === newTheme) {
return;
}