diff --git a/src/store/actions.ts b/src/store/actions.ts index d439def..5d867f9 100644 --- a/src/store/actions.ts +++ b/src/store/actions.ts @@ -112,7 +112,7 @@ export const actions: ActionTree & Actions = { // Use first map, if any, if neither of the above exist if(!mapName) { - mapName = world.maps.size ? world.maps.entries().next().value.name : undefined; + mapName = world.maps.size ? world.maps.entries().next().value[1].name : undefined; } }