Fix typo in default map handling. Fixes #1

This commit is contained in:
James Lyne 2020-12-22 01:39:19 +00:00
parent 47ae7a760e
commit 28b01087f4

View File

@ -112,7 +112,7 @@ export const actions: ActionTree<State, State> & 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;
}
}