Fix typo in default map handling. Fixes #1
This commit is contained in:
parent
47ae7a760e
commit
28b01087f4
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user