Skip to content

Commit

Permalink
Update init.js
Browse files Browse the repository at this point in the history
  • Loading branch information
leomcelroy committed Apr 4, 2022
1 parent 2e37d57 commit 08db26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function removeParam(key) {
}

export function loadFromDefault() {
dispatch("GENERATE_NAME");
return loadFromS3(DEFAULT_CARTRIDGE);
}

Expand Down Expand Up @@ -194,7 +195,6 @@ export async function init(state) {
dispatch("LOAD_CARTRIDGE", { saved });
dispatch("SOUND", "bootup");
dispatch("FAVICON");
dispatch("GENERATE_NAME");

document.dispatchEvent(new Event("init_done"));
}

0 comments on commit 08db26b

Please sign in to comment.