This commit is contained in:
2023-08-23 17:52:52 +02:00
parent f3564e0c9c
commit 5bc6eca18a

View File

@ -574,6 +574,7 @@ export class Editor {
// Loading from URL bar
let url = new URLSearchParams(window.location.search);
if (url === null) {
//@ts-ignore
let new_universe = JSON.parse(url.get("universe"));
console.log((this.universes["imported"] = new_universe));
this.loadUniverse("imported");