This commit is contained in:
Hide_D committed 2022-07-09 19:24:49 +09:00
1 parent 534be03539
commit dd0afbe390
5 files changed
+9 -9

No files matched your search

+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;
}