Skip to content

Commit 08db26b

Browse files
committed
Update init.js
1 parent 2e37d57 commit 08db26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function removeParam(key) {
1616
}
1717

1818
export function loadFromDefault() {
19+
dispatch("GENERATE_NAME");
1920
return loadFromS3(DEFAULT_CARTRIDGE);
2021
}
2122

@@ -194,7 +195,6 @@ export async function init(state) {
194195
dispatch("LOAD_CARTRIDGE", { saved });
195196
dispatch("SOUND", "bootup");
196197
dispatch("FAVICON");
197-
dispatch("GENERATE_NAME");
198198

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

0 commit comments

Comments
 (0)