Fix a similar typo in default world handling

This commit is contained in:
James Lyne 2020-12-22 01:50:45 +00:00
parent 28b01087f4
commit 4f00a2a325

View File

@ -94,7 +94,7 @@ export const actions: ActionTree<State, State> & Actions = {
// Use first world, if any, if neither of the above exist // Use first world, if any, if neither of the above exist
if(!worldName) { if(!worldName) {
worldName = state.worlds.size ? state.worlds.entries().next().value.name : undefined; worldName = state.worlds.size ? state.worlds.entries().next().value[1].name : undefined;
} }
if(worldName) { if(worldName) {